N
nandor.sieben
Let m be of type vector<vector<int> >. I am trying to sort each
element of m:
for_each(m.begin(), m.end(), bind(sort, *_1.begin(), *_1.end());
This does not work:
'const struct
boost::lambda::lambda_functor<boost::lambda:laceholder<1> >' has no
member named 'begin'
'const struct
boost::lambda::lambda_functor<boost::lambda:laceholder<1> >' has no
member named 'end'
What do I do wrong?
element of m:
for_each(m.begin(), m.end(), bind(sort, *_1.begin(), *_1.end());
This does not work:
'const struct
boost::lambda::lambda_functor<boost::lambda:laceholder<1> >' has no
member named 'begin'
'const struct
boost::lambda::lambda_functor<boost::lambda:laceholder<1> >' has no
member named 'end'
What do I do wrong?