Boost logo

Boost Users :

From: Scott Meyers (usenet_at_[hidden])
Date: 2007-03-28 01:17:47


Having written code using a stateful functor with mpl::for_each and observing
that side effects were not taking place, I went to
http://www.boost.org/libs/mpl/doc/refmanual/refmanual_toc.html to confirm my
suspicion that the functor was being passed by value. But there appears to be
no documentation for mpl::for_each (neither in the HTML version of the reference
manual nor in the PDF version). I ultimately confirmed my suspicion by looking
at the header file, but is there a reason why for_each seems to be documented
only in the printed book?

Thanks,

Scott


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