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


1077. Explicit specializations in non-containing namespaces

Section: _N4868_.  [namespace.memdef]     Status: NAD     Submitter: Mike Spertus     Date: 2010-06-13

The current wording of _N4868_. [namespace.memdef] and 13.9.4 [temp.expl.spec] requires that an explicit specialization be declared either in the same namespace as the template or in an enclosing namespace. It would be convenient to relax that requirement and allow the specialization to be declared in a non-enclosing namespace to which one or more if the template arguments belongs.

Additional note, April, 2015:

See EWG issue 48.

EWG 2022-11-11

This is a feature request, not a defect.