Documentation Home >> Headers >> <jss/actor.hpp> Header >> jss::actor_ref >> jss::actor_ref constructor

Construct a new instance of jss::actor_ref that references the given instance of jss::actor.

actor_ref(actor& a);

Effects:

*this refers to the actor a, such that any messages sent by calling jss::actor_ref::send() on *this are forwarded to a.

Header

#include <jss/actor.hpp>

See Also