On Sunday, 2 June 2013, Steven Watanabe wrote:
AMDG
On 05/31/2013 06:35 PM, Brendon Costa wrote:
>>
>> try push_back<_1, deref<max_element<_1> > >.
>> i.e. don't use ::type in an MPL Lambda expression.
>>
>>
>>
> That doesn't work either. Below is a full code example as I think it should
> be from your feedback (I have tried in GCC and MSVC2010):
>
What version of Boost are you using? The
code doesn't compile with the current
trunk because of a bug that prevents
max_element from working in lambdas.
After I fix that it works fine.
In Christ,
Steven Watanabe
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users