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

2024-04-18


1998. Additional sources of xvalue expressions

Section: 7.2.1  [basic.lval]     Status: NAD     Submitter: Daveed Vandevoorde     Date: 2014-09-08

According to 7.2.1 [basic.lval] paragraph 1,

An xvalue is the result of certain kinds of expressions involving rvalue references (9.3.4.3 [dcl.ref]).

However, there are now expressions not involving rvalue references whose results are xvalues, e.g., a member access expression in which the left operand is a prvalue.

Rationale (November, 2014):

The cited wording does not preclude other kinds of expressions that result in xvalues. This wording could be expanded editorially if a more extensive coverage is desired.