25 Mar
2010
25 Mar
'10
8:51 a.m.
On Wed, Mar 24, 2010 at 3:15 PM, Steven Watanabe
AMDG
Peter Dimov wrote:
Robert Jones wrote:
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.
This should work unless A is an abstract type.
I don't understand this; if this passes by reference as Peter states in this thread, why can A not be an abstract type? - Rob.