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

2023-01-15


1075. Grammar does not allow template alias in type-name

Section: 9.2.9.3  [dcl.type.simple]     Status: C++11     Submitter: Jason Merrill     Date: 2010-06-06

[Voted into the WP at the November, 2010 meeting.]

According to 13.3 [temp.names] paragraph 7,

A template-id that names a template alias specialization is a type-name.

However, the grammar for type-name in 9.2.9.3 [dcl.type.simple] does not include a production for simple-template-id.

Proposed resolution (September, 2010):

Change the definition of type-name in 9.2.9.3 [dcl.type.simple] paragraph 1 as follows: