Title
Literal types and constexpr defaulted constructors
Status
dup
Section
6.8 [basic.types]
Submitter
Richard Smith

Created on 2013-04-20.00:00:00 last changed 135 months ago

Messages

Date: 2013-09-15.00:00:00

Rationale (September, 2013):

This issue duplicates issue 1360.

Date: 2022-11-20.07:54:16

The requirement in 6.8 [basic.types] that a literal type must have a constexpr constructor has caused signficant problems with respect to defaulted default constructors, since the determination of whether a constructor is constexpr depends on its definition and a defaulted special member function is only defined if it is odr-used. It might be better to remove that requirement, at least as it applies to defaulted default constructors.

History
Date User Action Args
2013-10-14 00:00:00adminsetmessages: + msg4717
2013-10-14 00:00:00adminsetstatus: open -> dup
2013-04-20 00:00:00admincreate