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

2024-04-05


1917. decltype-qualified enumeration names

Section: 9.7.1  [dcl.enum]     Status: NAD     Submitter: Daveed Vandevoorde     Date: 2014-04-25

9.3.4 [dcl.meaning] paragraph 1 and Clause 11 [class] paragraph 11 prohibit decltype-qualified declarators and class names, respectively. There is no such prohibition in 9.7.1 [dcl.enum] for enumeration names. Presumably that is an oversight that should be rectified.

Rationale (February, 2021):

The resolution of issue 2156 includes the required prohibition.