Title
Signature of constructor template
Status
cd4
Section
3.57 [defns.signature.member.templ]
Submitter
Hubert Tong

Created on 2015-05-05.00:00:00 last changed 95 months ago

Messages

Date: 2015-10-15.00:00:00

Proposed resolution (October, 2015):

Change 3.57 [defns.signature.member.templ] as follows:

signature
<class member function template> name, parameter type list (9.3.4.6 [dcl.fct]), class of which the function is a member, cv-qualifiers (if any), ref-qualifier (if any), return type (if any), and template parameter list
Date: 2016-02-15.00:00:00

[Adopted at the February, 2016 meeting.]

According to 3.57 [defns.signature.member.templ], the signature of a class member function template includes:

name, parameter type list (9.3.4.6 [dcl.fct]), class of which the function is a member, cv-qualifiers (if any), ref-qualifier (if any), return type, and template parameter list

However, a constructor template does not have a return type. This may be relevant to friend declaration matching.

History
Date User Action Args
2017-02-06 00:00:00adminsetstatus: ready -> cd4
2015-11-10 00:00:00adminsetmessages: + msg5568
2015-05-05 00:00:00admincreate