Title
Scoped enumerator with the same name as its containing class
Status
c++11
Section
11.4 [class.mem]
Submitter
Pavel Minaev

Created on 2010-06-02.00:00:00 last changed 96 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 11.4 [class.mem] paragraph 14 bullet 4 as follows:

  • every enumerator of every member of class T that is an unscoped enumerated type; and
Date: 2010-10-18.00:00:00

11.4 [class.mem] paragraph 13 requires that all enumerators of a member enumeration type have names different from that of the containing class. This is only necessary for an unscoped enumeration; scoped enumerators are not in the scope of the containing class.

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: + msg3180
2010-11-29 00:00:00adminsetstatus: tentatively ready -> dr
2010-10-18 00:00:00adminsetmessages: + msg2985
2010-10-18 00:00:00adminsetstatus: drafting -> tentatively ready
2010-06-02 00:00:00admincreate