Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2002-12-29 12:48:24


"Oleg Grunin" <yg-boost-users_at_[hidden]> 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_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net