Commit c55b30eb authored by Dominik Charousset's avatar Dominik Charousset

Add missing forward declaration

parent 9c224ea4
......@@ -132,6 +132,10 @@ class uniform_type_info_map;
class uri;
class uri_builder;
// -- templates with default parameters ----------------------------------------
template <class, class = event_based_actor> class stateful_actor;
// -- structs ------------------------------------------------------------------
struct unit_t;
......
......@@ -35,7 +35,7 @@ namespace caf {
/// actor called `quit`. This state management brakes cycles and
/// allows actors to automatically release ressources as soon
/// as possible.
template <class State, class Base = event_based_actor>
template <class State, class Base /* = event_based_actor (see fwd.hpp) */>
class stateful_actor : public Base {
public:
template <class... Ts>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment