Boost logo

Boost Users :

From: James Hughes (JHughes_at_[hidden])
Date: 2006-03-14 05:01:55


Also thanks,

I was wondering how to do exactly the same thing the other day.

James

> -----Original Message-----
> From: Rob Caldecott [mailto:robert.caldecott_at_[hidden]]
> Sent: 14 March 2006 09:52
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] Using bind to call a member function
>
>
> Thankyou Stuart - it works like a charm.
> >
> > You certainly can - add 'this' as the first bound
> parameter, like so:
> >
> > for_each(v.begin(), v.end(), bind(&CTest::SomeFunc, this, _1));
> >
> > HTH
> > Stuart Dootson
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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