Created on 2014-02-03.00:00:00 last changed 49 months ago
[Moved to DR at the November, 2014 meeting.]
Proposed Resolution (July, 2014):
Change 11.4.5 [class.ctor] paragraph 1 as follows:
Constructors do not have names.
Adeclaration of a constructor usesa function declarator (22.214.171.124 [dcl.fct]) of the form...
Change 11.4.7 [class.dtor] paragraph 1 as follows:
Adeclaration of a destructor usesa function declarator (126.96.36.199 [dcl.fct]) of the form...
The description of the required syntax for declaring a destructor in 11.4.7 [class.dtor] paragraph 1 says,
A declaration of a destructor uses a function declarator (188.8.131.52 [dcl.fct]) of the form
ptr-declarator ( parameter-declaration-clause ) exception-specificationopt attribute-specifier-seqopt
where the ptr-declarator...
A declaration such as
arguably “uses” a declarator of the required form, since the cited wording does not forbid placing a declarator of that form inside parentheses. (Similar considerations apply to the syntax of constructors in 11.4.5 [class.ctor] paragraph 1.) There is implementation divergence on this point. The wording should be clarified as to whether parentheses surrounding a declarator of the required form are permitted or not.
|2017-02-06 00:00:00||admin||set||status: drwp -> cd4|
|2015-05-25 00:00:00||admin||set||status: dr -> drwp|
|2015-04-13 00:00:00||admin||set||messages: + msg5398|
|2014-11-24 00:00:00||admin||set||status: tentatively ready -> dr|
|2014-10-13 00:00:00||admin||set||messages: + msg5141|
|2014-10-13 00:00:00||admin||set||status: open -> tentatively ready|