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

2024-10-26


730. Explicit specializations of members of non-template classes

Section: 13.9.4  [temp.expl.spec]     Status: CD2     Submitter: Bronek Kozicki     Date: 3 October, 2008

N2800 comment DE 14

[Voted into WP at October, 2009 meeting.]

The list of entities that can be explicitly specialized in 13.9.4 [temp.expl.spec] paragraph 1 includes member templates of class templates but not member templates of non-template classes. This omission could lead to the conclusion that such member templates cannot be explicitly specialized. (Note, however, that paragraph 3 refers to “an explicit specialization for a member template of [a] class or class template.”)

Proposed resolution (July, 2009):

Change 13.9.4 [temp.expl.spec] paragraph 1 as follows:

An explicit specialization of any of the following:

can be declared...