Boost logo

Boost :

Subject: Re: [boost] [phoenix] Result type & compatibility with result_of
From: Joel de Guzman (joel_at_[hidden])
Date: 2010-06-06 10:47:42

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.


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at