$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Bind][Lambda] Processing containers of pointers
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-24 11:15:54
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.
In Christ,
Steven Watanabe