|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-02-17 08:01:07
Raoul Gough wrote:
> "Peter Dimov" <pdimov_at_[hidden]> writes:
>
>>
>> I seem to recall attempts to strike down that second bullet of the
>> first bullet of the second bullet of 8.3.5/5 :-) and demand that the
>> reference be bound to the object represented by the rvalue. At the
>> time, this seemed a reasonable idea, but then I came up with the ROM
>> example. Maybe it's already widely known and I'm just reinventing
>> the wheel.
>
> BTW, what does the standard actually say about the const-ness of
> introduced temporaries?
"cv1", where "cv1 shall be 'const'".
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk