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-03-20


2292. simple-template-id is ambiguous between class-name and type-name

Section: 13.3  [temp.names]     Status: CD5     Submitter: CWG     Date: 2016-06-22

[Accepted as a DR as paper P1131R2 at the November, 2018 (San Diego) meeting.]

The grammar term simple-template-id is used in the definition of both class-name (Clause 11 [class] paragraph 1) and type-name (9.2.9.3 [dcl.type.simple] paragraph 1). The latter case is intended to apply to alias template specializations. It would be helpful to have separate grammar terms for these uses.