
22 Jun
2005
22 Jun
'05
2:30 a.m.
Sorry if this has been asked before (I couldn't find anything, or else I wasn't using the right searches)... How does one create a lambda function that invokes its parameter? For example, for use with std::for_each: std::vector<boost::function0<void> > Methods; std::for_each(Methods.begin(), Methods.end(), *???*) Peregrine Falcon