Title
Class member access constant expressions
Status
cd2
Section
7.7 [expr.const]
Submitter
Steve Adamczyk

Created on 2008-09-17.00:00:00 last changed 178 months ago

Messages

Date: 2009-10-15.00:00:00

[Voted into WP at October, 2009 meeting.]

Date: 2009-03-15.00:00:00

Proposed resolution (March, 2009):

Delete 7.7 [expr.const] bullet 2.11:

  • a class member access (7.6.1.5 [expr.ref]) unless its postfix-expression is of effective literal type or of pointer to effective literal type;
Date: 2008-09-17.00:00:00

Bullet 12 of paragraph 2 of 7.7 [expr.const] says,

  • a class member access (7.6.1.5 [expr.ref]) unless its postfix-expression is of effective literal type or of pointer to effective literal type;

This wording needs to be clearer that the “effective literal type” provision applies only to the . form of member access and the “pointer to effective literal type” applies only to the -> form.

History
Date User Action Args
2010-03-29 00:00:00adminsetstatus: dr -> cd2
2009-11-08 00:00:00adminsetmessages: + msg2444
2009-11-08 00:00:00adminsetstatus: ready -> dr
2009-08-03 00:00:00adminsetstatus: review -> ready
2009-03-23 00:00:00adminsetmessages: + msg1929
2009-03-23 00:00:00adminsetstatus: open -> review
2008-09-17 00:00:00admincreate