This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115c. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-09-25
An example like the following would seem to be plausible:
template<class T, T*> struct X { }; // We want to partially specialize for all nullptrs... template<class T> struct X<T, nullptr> { ... }; // NOT OK
This is disallowed by the rule in bullet 9.2 of 13.7.6.1 [temp.spec.partial.general]:
The type of a template parameter corresponding to a specialized non-type argument shall not be dependent on a parameter of the specialization.
(See also issues 1315, 1647, and 2033.)