
7 Apr
2011
7 Apr
'11
12:34 a.m.
On Wed, Apr 6, 2011 at 6:13 PM, Joel de Guzman
On 4/7/2011 6:57 AM, Nathan Crookston wrote:
Phoenix v2 is tricky to use with transform due to result_of -- for one, there was the bug Steven mentioned with transform_iterator. For two, Phoenix v2's return type deduction mechanism is different than that used by result_of. Phoenix v3 uses result_of and should then be interoperable with boost::adaptors::transformed. For the time being it may be better to use boost::bind in this case.
Not quite true. That's a common misconception. Phoenix v2 *does* support result_of. It's just phoenix::function that does not support it due to legacy code and backward compat.
My mistake -- thanks for the clarification. Nate