Boost logo

Boost Users :

Subject: Re: [Boost-users] [Bind][Lambda] Processing containers of pointers
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2010-03-24 07:25:19


2010/3/24 Robert Jones <robertgbjones_at_[hidden]>

> Hi All
>
> I believe boost.bind has the capability to look through pointers and smart
> pointers to
> transparently process the pointed-to objects. Does boost.lambda.bind also
> have this
> capability?

As your code demonstrates, lambda.bind works for pointers, but not for
smart pointers.

Roman Perepelitsa.



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