Quote:Original post by Ryan_001
Just for the sake of conversation:std::for_each(av.begin(), av.end(), [=] (ObjectA* a) { Apply(a); } );
This is pretty much why I've already migrated almost all my work to C++0x.
Quote:Original post by Ryan_001
Just for the sake of conversation:std::for_each(av.begin(), av.end(), [=] (ObjectA* a) { Apply(a); } );
Quote:Original post by Zahlman
Umm... mem_fun_ref? :)