Created
July 25, 2020 16:59
-
-
Save JohnMurray/efb9c6eaea0afb36ca4ba52298b79efc 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
auto ref = make_actor<HelloActor>(system, "Greetings"); | |
auto generic_ref = actor_ref_cast<HelloBehavior>(ref); | |
generic_ref.send("Bob"); // still works! | |
generic_ref.send(false); // still an error! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment