Boost logo

Boost :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-09-15 12:59:27


> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Marius Lazer
> Sent: Friday, September 15, 2006 8:57 AM
> To: boost_at_[hidden]
> Subject: [boost] boost::lambda question
>
> I have an STL container of functors and I want to execute them using
> std::for_each. In the code snippet below the line marked "//
> good" works
> fine and the one marked "// nothing" compiles fine but does absolutely
> nothing. C
[snip]
> std::for_each(c.begin(), c.end(), _1); // nothing

I'm not exactly sure what you expect it to myself...


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk