Add a comment. Active Oldest Votes. You can't use boost::bind expressions as a phoenix actor. Using phoenix::function to wrap deferred callables Finally there is the option to use phoenix::function to wrap deferred callables directly as a unary actor.
Improve this answer. Thank your for this very insightful answer! Luckily the variant that applies the fusion magic works for me. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Quality code is the easiest to delete.
Upcoming Events. Featured on Meta. Now live: A fully responsive profile. Candidate changes in Moderator Election — review your ballot. Linked Related 2. Hot Network Questions. Question feed.
Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings. Lazy functions are provided for all of the member functions of the following containers:. Indeed, should your class have member functions with the same names and signatures as those listed below, then it will automatically be supported.
To summarize, lazy functions are provided for member functions:. The lazy functions' names are the same as the corresponding member function. The difference is that the lazy functions are free functions and therefore does not use the member "dot" syntax. Notice that member functions with names that clash with stl algorithms are absent.
This will be provided in Phoenix's algorithm module.
0コメント