Greetings,
The intuitive way to make a PFO having state is letting boost::phoenix::function
hold the impl's reference, however, the following does not work.
struct Impl
{
...defines a functor having state...
};
Impl impl;
boost::phoenix::function<Impl const&> f(impl);
f(...lazy call...); // should return an actor here, but not compiles
Is this intended behavior?