Title
opaque-enum-declaration as member-declaration
Status
cd5
Section
11.4 [class.mem]
Submitter
Peter Sommerlad

Created on 2013-10-31.00:00:00 last changed 29 months ago

Messages

Date: 2021-11-15.00:00:00

[Resolved editorially by editorial issue 2353.]

According to 11.4 [class.mem] paragraph 1,

A member shall not be declared twice in the member-specification, except that a nested class or member class template can be declared and then later defined, and except that an enumeration can be introduced with an opaque-enum-declaration and later redeclared with an enum-specifier.

However, the grammar for member-declaration does not have a production that allows an opaque-enum-declaration.

History
Date User Action Args
2021-11-15 00:00:00adminsetstatus: drafting -> cd5
2014-03-03 00:00:00adminsetstatus: open -> drafting
2013-10-31 00:00:00admincreate