31 May
2013
31 May
'13
6:59 p.m.
AMDG On 05/29/2013 08:55 PM, Brendon Costa wrote:
I have been using boost.mpl for the first time recently and have solved a number of tasks with boost.mpl now but have a problem with a bit of code I thought should be working.
What is wrong with this bit of code using boost.mpl?
typedef vector
, int_<3>, int_<2> > v1; // I want to use max_element on a vector I am in the process of constructing using a fold typedef typename fold
>, push_back<_1, deref ::type >::type> >::type v2;
try push_back<_1, deref