Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-10-12 19:05:49


Janek Kozicki <janek_listy_at_[hidden]> writes:

> Thorsten Ottosen said: (by the date of Thu, 12 Oct 2006 10:48:56 +0200)
>
>> >>We could add operator() which would return operator[]()'s result by value.
>> >>
>> >>Is anybody opposed to that?
>> >
>> >
>> > Probably. What is the point of doing that?
>>
>> It would fix our users problem, so he can use () to do what he want.
>>
>
> More consequence then, and forward all operators.

Sorry, I can't parse that.

> But in this scenario some unintended behaviour can appear related to
> forwarding not intended by the user.

loster and loster.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk