
16 Oct
2008
16 Oct
'08
9:48 p.m.
AMDG Michael Marcin wrote:
void call_each( std::list<functor>& l ) { std::for_each( l.begin(), l.end(), boost::bind(_1,5,20) ); }
Boost.Lambda supports this. Boost.Bind doesn't. std::for_each( l.begin(), l.end(), boost::bind(&functor::operator(), _1,5,20) ); In Christ, Steven Watanabe