Re: [boost] boost::lambda question

15 Sep
2006
15 Sep
'06
4:59 p.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Marius Lazer Sent: Friday, September 15, 2006 8:57 AM To: boost@lists.boost.org 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...
6849
Age (days ago)
6849
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sohail Somani