AMDG
Peter Dimov wrote:This should work unless A is an abstract type.
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.