Title
Further disambiguation of enumeration elaborated-type-specifier
Status
cd4
Section
9.2.9.4 [dcl.type.elab]
Submitter
Richard Smith

Created on 2015-07-06.00:00:00 last changed 49 months ago

Messages

Date: 2015-10-15.00:00:00

Proposed resolution (October, 2015):

Change 9.7.1 [dcl.enum] paragraph 1 as follows:

...A : following “enum nested-name-specifieropt identifier” within the decl-specifier-seq of a member-declaration is parsed as part of an enum-base. [Note: This resolves a potential ambiguity...
Date: 2016-02-15.00:00:00

[Adopted at the February, 2016 meeting.]

The resolution of issue 1966 does not apply to the case where the enumeration name is qualified, e.g.,

  enum E : int;
  struct X {
    enum ::E : int();
  };
History
Date User Action Args
2017-02-06 00:00:00adminsetstatus: ready -> cd4
2015-11-10 00:00:00adminsetmessages: + msg5577
2015-07-06 00:00:00admincreate