Last active
August 3, 2020 01:56
-
-
Save JohnMurray/c43282aea202d0479c0c779f7cd75c70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename RefOf> | |
class ActorRef { | |
std::shared_ptr<RefOf> m_actor; | |
public: | |
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