Created on2014-07-08.00:00:00 last changed109 months ago
[Moved to DR at the May, 2015 meeting.]
Proposed resolution (April, 2015):
Change 9.8.1 [dcl.enum] paragraph 1 as follows:
A: following “enumidentifier”within thedecl-specifier-seq ofamember-declaration is parsed as part ofanenum-base. [Note: This resolves a potentialambiguity between the declaration of an enumeration withanenum-base and the declaration of an unnamed bit-fieldof enumeration type...
The resolution ofissue 1514 was intendedto apply wheneverenumidentifier appears; however, thefact that the disambiguation rule appears in the description of theenum-specifier makes it unclear that it is intended to apply inother contexts such as:
enum E { e1 }; void f() { false ? new enum E : int(); }| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-02-06 00:00:00 | admin | set | status: drwp -> cd4 |
| 2015-11-10 00:00:00 | admin | set | status: dr -> drwp |
| 2015-05-25 00:00:00 | admin | set | messages: +msg6052 |
| 2015-05-25 00:00:00 | admin | set | status: tentatively ready -> dr |
| 2015-04-13 00:00:00 | admin | set | messages: +msg5314 |
| 2015-04-13 00:00:00 | admin | set | status: drafting -> tentatively ready |
| 2014-07-08 00:00:00 | admin | create | |