This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-10-26
[Voted into the WP at the November, 2010 meeting.]
N3092 comment JP 1One of the bullets in the note in Clause 7 [expr] paragraph 6 says that an expression is an xvalue if it is:
a class member access expression designating a non-static data member in which the object expression is an xvalue
This is incorrect if the type of the non-static data member is a reference type (cf 7.6.1.5 [expr.ref] paragraph 4.)
Proposed resolution (September, 2010):
Change Clause 7 [expr] bullet 6.3 as follows:
a class member access expression designating a non-static data member of non-reference type in which the object expression is an xvalue, or