A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/CWG/issues/2157.html below:

CWG Issue 2157

This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-08-11

2157. Further disambiguation of enumeration elaborated-type-specifierSection: 9.2.9.5  [dcl.type.elab]     Status: CD4     Submitter: Richard Smith     Date: 2015-07-06

[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();
  };

Proposed resolution (October, 2015):

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

...A : following “enum nested-name-specifieroptidentifier” within the decl-specifier-seq of a member-declaration is parsed as part of an enum-base. [Note: This resolves a potential ambiguity...

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4