Movatterモバイル変換


[0]ホーム

URL:


Issue 1966 - WG21 CWG Issues
Title
Colon following enumeration elaborated-type-specifier
Status
cd4
Section
9.8.1 [dcl.enum]
Submitter
Daveed Vandevoorde

Created on2014-07-08.00:00:00 last changed109 months ago

Messages

msg6052 (view)
Date: 2015-05-15.00:00:00

[Moved to DR at the May, 2015 meeting.]

msg5314 (view)
Date: 2015-04-15.00:00:00

Proposed resolution (April, 2015):

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

A: following “enumidentifierwithin 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...
msg5203 (view)
Date: 2014-07-08.00:00:00

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
DateUserActionArgs
2017-02-06 00:00:00adminsetstatus: drwp -> cd4
2015-11-10 00:00:00adminsetstatus: dr -> drwp
2015-05-25 00:00:00adminsetmessages: +msg6052
2015-05-25 00:00:00adminsetstatus: tentatively ready -> dr
2015-04-13 00:00:00adminsetmessages: +msg5314
2015-04-13 00:00:00adminsetstatus: drafting -> tentatively ready
2014-07-08 00:00:00admincreate

[8]ページ先頭

©2009-2026 Movatter.jp