
26 Jul
2005
26 Jul
'05
4:39 p.m.
Thaddeus Olczyk wrote:
std::for_each(alist.begin(),alist.end(), _1->print_A()); // This is line 30
I think you have to use a binder here: http://www.boost.org/doc/html/lambda/le_in_details.html#member_functions_as_...