This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 116a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-12-19


1117. Incorrect note about xvalue member access expressions

Section: Clause 7  [expr]     Status: C++11     Submitter: JP     Date: 2010-08-02

[Voted into the WP at the November, 2010 meeting.]

N3092 comment JP 1

One of the bullets in the note in Clause 7 [expr] paragraph 6 says that an expression is an xvalue if it is:

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: