
26 Dec
2002
26 Dec
'02
5:31 p.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
10:48 a.m.
"Oleg Grunin" <yg-boost-users@m.gmane.org> writes:
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
8208
Age (days ago)
8210
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Abrahams
-
Oleg Grunin