CWG Issue 1576 (original) (raw)
This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-04-13
1576. Discarded-value volatile xvalues
Section: Clause 7 [expr]Status: C++14Submitter: Michael WongDate: 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 lvaluea glvalue of volatile-qualified type and it is one of the following:...