Title
Incorrect note about xvalue member access expressions
Status
c++11
Section
Clause [7] [expr]
Submitter
JP

Created on 2010-08-02.00:00:00 last changed 131 months ago

Messages

Date: 2010-11-15.00:00:00

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

Date: 2010-09-15.00:00:00

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

Date: 2020-12-15.00:00:00
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:

  • 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.)

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetstatus: dr -> fdis
2010-11-29 00:00:00adminsetmessages: + msg3149
2010-11-29 00:00:00adminsetstatus: tentatively ready -> dr
2010-10-18 00:00:00adminsetmessages: + msg2971
2010-10-18 00:00:00adminsetstatus: drafting -> tentatively ready
2010-08-02 00:00:00admincreate