Explicit specializations of members of non-template classes
13.9.4 [temp.expl.spec]
Bronek Kozicki

Created on 2008-10-03.00:00:00 last changed 144 months ago


Date: 2009-10-15.00:00:00

[Voted into WP at October, 2009 meeting.]

Date: 2009-07-15.00:00:00

Proposed resolution (July, 2009):

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

An explicit specialization of any of the following:

  • ...

  • member class template of a class or class template

  • non-deleted member function template of a class or class template

can be declared...

Date: 2009-03-23.00:00:00
N2800 comment DE 14

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.”)

Date User Action Args
2010-03-29 00:00:00adminsetstatus: dr -> cd2
2009-11-08 00:00:00adminsetmessages: + msg2475
2009-11-08 00:00:00adminsetstatus: ready -> dr
2009-08-03 00:00:00adminsetmessages: + msg2177
2009-08-03 00:00:00adminsetstatus: drafting -> ready
2009-03-23 00:00:00adminsetstatus: open -> drafting
2008-10-03 00:00:00admincreate