24 Mar
2010
24 Mar
'10
3:39 p.m.
On Wed, Mar 24, 2010 at 11:39 AM, Peter Dimov
Robert Jones wrote:
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?
No, but you should be able to use bind( &A::f, *_1 ) for that.
Which I imagine passes by value? Hence the original objects pointed to by the container pointers are unchanged? Is that the semantics implemented by boost::bind when it looks through smart pointers? Thanks, - Rob.