[cfe-dev] C++ and volatile lvalue-to-rvalue

John McCall rjmccall at apple.com
Thu Oct 13 14:19:00 PDT 2011


On Oct 13, 2011, at 1:51 PM, Abramo Bagnara wrote:
> Il 13/10/2011 21:01, John McCall ha scritto:
>> Indeed, and the C++ committee has actually made some attempts to change
>> this in C++11, but we haven't implemented those changes yet, and we're
>> likely to only implement them in C++11 mode (i.e., treat C++11 as
>> explicitly changing the semantics, rather than treating it as a true fix).
> 
> Can you post a reference to that? I'm very interested to understand
> where this leads.

Apparently I was mis-remembering;  I was thinking of DR 1054, which
introduces lvalue-to-rvalue conversions in specific situations with certain
volatile l-value expressions.  I know of no proposal to change assignment.

John.



More information about the cfe-dev mailing list