Boost logo

Boost Users :

From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2005-07-26 11:39:16


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_targets




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net