Boost logo

Boost Users :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2007-03-29 05:47:48


Scott,

Scott Meyers writes:
> 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?

It was (accidentally) missed out. It's fixed in 1.34 release;
meanwhile, the page can be accessed online at
http://tinyurl.com/2f3zvv
(http://boost.cvs.sourceforge.net/*checkout*/boost/boost/libs/mpl/doc/refmanual/for-each.html?revision=1.1.2.1&pathrev=RC_1_34_0)

HTH,

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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