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

Created on 2024-03-03.00:00:00 last changed 2 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-03-03.00:00:00

(From submission #510.)

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

History
Date User Action Args
2024-04-05 21:08:10adminsetstatus: open -> tentatively ready
2024-03-17 06:36:43adminsetmessages: + msg7639
2024-03-03 00:00:00admincreate