$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [phoenix] [range] I think I'm missing a couple things w/ these libs
From: Nathan Crookston (nathan.crookston_at_[hidden])
Date: 2011-04-06 20:34:31
On Wed, Apr 6, 2011 at 6:13 PM, Joel de Guzman
<joel_at_[hidden]> wrote:
> 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