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

2025-09-28


3080. Clarify kinds of permitted template template arguments

Section: 13.4.4  [temp.arg.template]     Status: tentatively ready     Submitter: CWG     Date: 2025-09-26

(Split off from issue 3003.)

The specification in 13.4.4 [temp.arg.template] paragraph 1 omits template template parameters from the list of entities that can be used as template arguments. This is unintentional.

Proposed resolution (approved by CWG 2025-09-26):

Change in 13.4.4 [temp.arg.template] paragraph 1 as follows:

A template-argument for a template template parameter shall be the name of a template. For a type-tt-parameter, the name shall denote a class template or , alias template, or type template template parameter. For a variable-tt-parameter , the name shall denote a variable template or variable template template parameter. For a concept-tt-parameter , the name shall denote a concept or concept template parameter. ...