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


1876. Preventing explicit specialization

Section: 13.9.4  [temp.expl.spec]     Status: NAD     Submitter: John Spicer     Date: 2014-02-19

A desire has been expressed for a mechanism to prevent explicitly specializing a given class template, in particular std::initializer_list and perhaps some others in the standard library. It is not clear whether simply adding a prohibition to the description of the templates in the library clauses would be sufficient or whether a core language mechanism is required.

Rationale (June, 2014):

This request for a new language feature should be considered by EWG before any action is taken.

EWG 2022-11-11

The library clauses already prohibit user specializations of standard library templates. This is a request for new feature, which should be proposed in a paper to EWG.