29 Dec
2002
29 Dec
'02
5:48 p.m.
"Oleg Grunin"
It would be useful IMHO if mpl::for_each took its functor argument by reference or better yet, became aware of boost::reference_wrapper.
Yeah, good idea (the second one ;-)) In the meantime, you can stick a pointer to your data in the function object. -- David Abrahams dave@boost-consulting.com * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution