27 Dec
2002
27 Dec
'02
12:31 a.m.
It would be useful IMHO if mpl::for_each took its functor argument by reference or better yet, became aware of boost::reference_wrapper.
29 Dec
29 Dec
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
8004
Age (days ago)
8006
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Abrahams
-
Oleg Grunin