Boost logo

Boost Users :

From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2006-10-12 12:45:10


On 10/12/06, aDi Rob <adirob1_at_[hidden]> wrote:
> Shortly after I posted this I got this working by first binding to
> boost::shared_ptr<T>::get method and then using the result of this as the
> this pointer in the main lambda expression.
>
> "aDi Rob" <adirob1_at_[hidden]> wrote in message
> news:egjsa1$9i$1_at_sea.gmane.org...
> >I am new to using lambda expressions and have come across a problem I can't
> >seem to resolve - would appreciate any insight on this.

If you're just doing a bind, then Boost.Bind is easier than
Boost.Lambda, as it knows about (and handles) boost::shared_ptr.

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