Title
Explicit specialization of deleted function template
Status
c++11
Section
13.9.4 [temp.expl.spec]
Submitter
Spicer

Created on 2009-07-14.00:00:00 last changed 123 months ago

Messages

Date: 2010-08-23.00:00:00

[Voted into WP at August, 2010 meeting.]

Date: 2010-02-15.00:00:00

Proposed resolution (February, 2010):

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

An explicit specialization of any of the following:

  • non-deleted function template

  • class template

  • non-deleted member function of a class template

  • static data member of a class template

  • member class of a class template

  • 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-07-14.00:00:00

According to 13.9.4 [temp.expl.spec] paragraph 1, only non-deleted function templates may be explicitly specialized. There doesn't appear to be a compelling need for this restriction, however, and it could be useful to forbid use of implicitly-instantiated specializations while still allowing use of explicitly-specialized versions.

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetstatus: wp -> fdis
2010-11-29 00:00:00adminsetstatus: dr -> wp
2010-08-23 00:00:00adminsetmessages: + msg2931
2010-08-23 00:00:00adminsetstatus: ready -> dr
2010-03-29 00:00:00adminsetstatus: review -> ready
2010-02-16 00:00:00adminsetmessages: + msg2566
2010-02-16 00:00:00adminsetstatus: drafting -> review
2009-07-14 00:00:00admincreate