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; ...@@ -132,6 +132,10 @@ class uniform_type_info_map;
class uri; class uri;
class uri_builder; class uri_builder;
// -- templates with default parameters ----------------------------------------
template <class, class = event_based_actor> class stateful_actor;
// -- structs ------------------------------------------------------------------ // -- structs ------------------------------------------------------------------
struct unit_t; struct unit_t;
......
...@@ -35,7 +35,7 @@ namespace caf { ...@@ -35,7 +35,7 @@ namespace caf {
/// actor called `quit`. This state management brakes cycles and /// actor called `quit`. This state management brakes cycles and
/// allows actors to automatically release ressources as soon /// allows actors to automatically release ressources as soon
/// as possible. /// 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 { class stateful_actor : public Base {
public: public:
template <class... Ts> 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