$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [lambda]
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-02-26 11:57:14
AMDG
Mathias Gaunard wrote:
> Marcin Zalewski wrote:
>> I am trying to use lambda's constructor [1] with fusion's fused [2].
>> Fused requires that the function object passed to it has a following
>> valid expression:
>>
>> boost::result_of< F(T1 ...TN) >::type
>>
>> Unfortunately, constructor does not support result_of.
>
> Use Phoenix instead of Lambda, and problem solved ;)
Phoenix v2 uses it's own result protocol which is not compatible
with result_of.
In Christ,
Steven Watanabe