Boost logo

Boost Users :

Subject: Re: [Boost-users] Problems using boost::mpl::for_each
From: Dave Abrahams (dave_at_[hidden])
Date: 2012-01-13 11:20:48


on Fri Jan 13 2012, Allan Nielsen <a-AT-awn.dk> wrote:

> boost::mpl::for_each< boost::mpl::vector<SYM> >( clearsymbol ); // not compiling
>
> But this does not seems to be the case...

Try making your operator() const.

HTH,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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