Boost logo

Boost Users :

From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2005-07-26 11:31:54


On 7/26/05, Thaddeus Olczyk <doctlo-boost_at_[hidden]> wrote:
> This piece of sample code demonstrates my problem quite well:
>
<snip>
> std::for_each(alist.begin(),alist.end(),
> _1->print_A()); // This is line 30

I think you'll have to use bind(&A::print_A, _1) instead

> return 1;
> }
> --
> Thad

Stuart Dootson


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