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

2024-12-19


343. Make template optional in contexts that require a type

Section: 13.3  [temp.names]     Status: C++17     Submitter: Steve Adamczyk     Date: 23 April 2002

[Adopted at the February/March, 2017 meeting.]

By analogy with typename, the keyword template used to indicate that a dependent name will be a template name should be optional in contexts where a type is required, e.g., base class lists. We could also consider member and parameter declarations.

This was suggested by issue 314.

Additional note (January, 2014):

See also issue 1710.

Proposed resolution (March, 2017):

This issue is resolved by the resolution of issue 1710.