tag:blogger.com,1999:blog-4171526517897577490.post4305659255353640705..comments2018-08-21T00:12:22.194-07:00Comments on C++ Actor Framework: Pattern MatchingDominik Charoussethttp://www.blogger.com/profile/01681682799621239876noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4171526517897577490.post-30487585737719705872011-09-20T15:33:35.690-07:002011-09-20T15:33:35.690-07:00Thank you for drawing my attention to this.
The p...Thank you for drawing my attention to this.<br /><br />The pattern matching implementation changed since I posted this example and I just forgot to update the post. Plus, there was a little bug which I fixed just now.<br /><br />However, the (fixed) example does compile and run now. Have fun!Dominik Charoussethttps://www.blogger.com/profile/01681682799621239876noreply@blogger.comtag:blogger.com,1999:blog-4171526517897577490.post-1178268824692001582011-09-20T13:51:27.933-07:002011-09-20T13:51:27.933-07:00Pattern matching doesn't seem to work with thi...Pattern matching doesn't seem to work with this syntax anymore; should I try to figure it out or has it changed a lot?Peterhttps://www.blogger.com/profile/12008031568467006349noreply@blogger.comtag:blogger.com,1999:blog-4171526517897577490.post-74481700984222512872011-09-20T13:31:01.883-07:002011-09-20T13:31:01.883-07:00It seems with the latest version of the library th...It seems with the latest version of the library the code snippets need some tweaks. <br /><br />In the first snippet I had to change:<br /> actor sl = spawn(slogger);<br />to:<br /> auto sl = spawn(slogger);<br /><br />and:<br /> sl.send(2);<br />to:<br /> send(sl, 2);<br /><br />I think that was it and it works.Peterhttps://www.blogger.com/profile/12008031568467006349noreply@blogger.com