[phoenix] Result type & compatibility with result_of

6 Jun
2010
6 Jun
'10
1:29 p.m.
Hi, Is there a rationale of Phoenix2 being not compatible with STL functors and result_of? I'm trying to bind an STL functor and it fails to compile.

6 Jun
6 Jun
2:47 p.m.
On 6/6/10 9:29 PM, Andrey Semashev wrote:
Hi,
Is there a rationale of Phoenix2 being not compatible with STL functors
Phoenix functions are polymorphic.
and result_of?
Phoenix predates result_of. I'm trying to bind an STL functor and it fails to compile. Check out libs/spirit/phoenix/test/bind/bind_function_object_tests.cpp Phoenix3 will support result_of for binding function objects. Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net
5495
Age (days ago)
5495
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andrey Semashev
-
Joel de Guzman