Title
template-names and operator-function-ids
Status
cd1
Section
Clause [13] [temp]
Submitter
Jens Maurer

Created on 2005-10-05.00:00:00 last changed 196 months ago

Messages

Date: 2006-10-15.00:00:00

[Voted into WP at the October, 2006 meeting.]

Date: 2006-04-15.00:00:00

Proposed resolution (April, 2006):

This issue is resolved by the resolution of issue 301.

Date: 2020-12-15.00:00:00

Taken literally, Clause 13 [temp] paragraph 2 does not permit operator functions to be templates:

In a function template declaration, the declarator-id shall be a template-name (i.e., not a template-id).

and, in 13.3 [temp.names] paragraph 1, a template-name is defined to be simply an identifier.

Issue 301 considered and rejected the idea of changing the definition of template-name to include operator-function-ids and conversion-function-ids. Either that decision should be reconsidered or the various references in the text to template-name should be examined to determine if they should also mention the non-identifier possibilities for function template names.

History
Date User Action Args
2008-10-05 00:00:00adminsetstatus: wp -> cd1
2007-05-06 00:00:00adminsetstatus: dr -> wp
2006-11-05 00:00:00adminsetmessages: + msg1441
2006-11-05 00:00:00adminsetstatus: ready -> dr
2006-04-22 00:00:00adminsetmessages: + msg1321
2006-04-22 00:00:00adminsetstatus: open -> ready
2005-10-05 00:00:00admincreate