[cfe-commits] r67999 - in /cfe/trunk: lib/Sema/SemaDeclCXX.cpp lib/Sema/SemaOverload.cpp lib/Sema/SemaOverload.h test/SemaCXX/rval-references.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Wed Apr 1 13:07:41 PDT 2009


Howard Hinnant wrote:
> On Apr 1, 2009, at 3:14 PM, Sebastian Redl wrote:
>
>>> http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#664
>> I believe issue 664 is moot now that rvalue refs cannot bind to lvalues.
>
> Here's an updated test case for 664:
>
> <snip>
> You still don't want r.p to dangle.
Indeed. Why was the distinction between class/array types and others put
into the standard in the first place, though?

Sebastian



More information about the cfe-commits mailing list