Skip to content

Instantly share code, notes, and snippets.

@JohnMurray
Created July 25, 2020 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnMurray/b8055652eb7c77bc9fa57f6c2c59c495 to your computer and use it in GitHub Desktop.
Save JohnMurray/b8055652eb7c77bc9fa57f6c2c59c495 to your computer and use it in GitHub Desktop.
void main() {
auto system = ActorSystem{}
auto ref = make_actor<HelloActor>(system, "Greetings");
ref.send("Bob");
ref.send(false); // compile error!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment