[Phoenix] Can we use boost::phoenix::function<Impl const&>?

6 May
2011
6 May
'11
10:14 a.m.
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?
5163
Age (days ago)
5163
Last active (days ago)
0 comments
1 participants
participants (1)
-
TONGARI