Title
User-declared constructor templates inhibiting default constructors
Status
dr
Section
11.4.5.2 [class.default.ctor]
Submitter
Jim X

Created on 2024-03-03.00:00:00 last changed 4 months ago

Messages

Date: 2024-04-05.21:08:10

Proposed resolution (approved by CWG 2024-04-05):

Change in 11.4.5.2 [class.default.ctor] paragraph 1 as follows:

... If there is no user-declared constructor or constructor template for class X, a non-explicit constructor having no parameters is implicitly declared as defaulted (9.5 [dcl.fct.def]). ...
Date: 2024-06-15.00:00:00

[Accepted as a DR at the June, 2024 meeting.]

(From submission #510.)

Subclause 11.4.5.2 [class.default.ctor] paragraph 1 does not, but should, consider user-declared constructor templates.

History
Date User Action Args
2024-07-20 13:52:34adminsetstatus: ready -> dr
2024-06-27 04:25:11adminsetstatus: tentatively ready -> ready
2024-04-05 21:08:10adminsetstatus: open -> tentatively ready
2024-03-17 06:36:43adminsetmessages: + msg7639
2024-03-03 00:00:00admincreate