Subject: Re: [boost] Phoenix3 port to proto complete
From: Daniel Walker (daniel.j.walker_at_[hidden])
Date: 2010-07-23 13:18:11


On Fri, Jul 23, 2010 at 11:23 AM, Thomas Heller
<thom.heller_at_[hidden]> wrote:
> Giovanni Piero Deretta wrote:
>> but phoenix::bind is polymorphic like std::bind, while boost::bind is
>> still monomorphic, right?
>
> std::bind and boost::bind are both monomorphic. phoenix::bind is
> polymorphic!

Just to be clear, std::bind is polymorphic. This is specified in
20.8.10.1.2 paragraph 3: the return type of the bind call wrapper is
derived from the argument dependent result_of<>::type for the bound
object.

Grats by the way! Can't way to use the new Phoenix!

Daniel Walker