This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 114a. See for the official list.


2062. Class template redeclaration requirements

Section: 13.7.2  [temp.class]     Status: CD6     Submitter: Hubert Tong     Date: 2014-12-19

[Accepted at the November, 2020 meeting as part of paper P1787R6 and moved to DR at the February, 2021 meeting.]

There does not appear to be a rule that two declarations of a class template must have compatible template parameter lists; e.g., it is not clear what makes the following ill-formed:

  template <typename> struct A;
  template <unsigned> struct A;