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


1576. Discarded-value volatile xvalues

Section: Clause 7  [expr]     Status: C++14     Submitter: Michael Wong     Date: 2012-10-18

[Moved to DR at the September, 2013 meeting.]

According to the current wording of Clause 7 [expr] paragraph 11, the lvalue-to-rvalue conversion applies only to volatile lvalues in the listed contexts. Presumably it should apply to volatile xvalues as well.

Proposed resolution (June, 2013):

Change Clause 7 [expr] paragraph 11 as follows:

...The lvalue-to-rvalue conversion (7.3.2 [conv.lval]) is applied if and only if the expression is an lvalue a glvalue of volatile-qualified type and it is one of the following:...