Skip to content

Instantly share code, notes, and snippets.

Last active Aug 3, 2020
What would you like to do?
template<typename RefOf>
class ActorRef {
std::shared_ptr<RefOf> m_actor;
ActorRef(std::shared_ptr<RefOf> actor)
: m_actor(actor) {}
template<typename Message>
void send(Message&& msg) { /* TODO */ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment