Boost logo

Boost Users :

Subject: Re: [Boost-users] [Bind][Lambda] Processing containers of pointers
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-25 13:30:33


AMDG

Robert Jones wrote:
> On Wed, Mar 24, 2010 at 3:15 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
>
>> Peter Dimov wrote:
>>
>>> 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?
>

Because of a long standing bug in the return type deduction mechanism.

In Christ,
Steven Watanabe


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