1 Jun
2013
1 Jun
'13
3:25 p.m.
AMDG On 05/31/2013 06:35 PM, Brendon Costa wrote:
try push_back<_1, deref
> >. 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