Title
exception-specification of defaulted function
Status
extension
Section
11.4.2 [dcl.fct.def.default]
Submitter
Ville Voutilainen

Created on 2014-04-10.00:00:00 last changed 72 months ago

Messages

Date: 2014-06-15.00:00:00

Rationale (June, 2014):

This suggested extension should be investigated by EWG before any action is taken.

Date: 2014-04-10.00:00:00

The current rules requiring a defaulted member function to have an exception-specification compatible with that of the implicitly-declared function are overly constraining. It should be possible, for example, to specify that a defaulted move constructor will be non-throwing, based on knowledge available to the programmer, even if the implicitly-declared constructor would be throwing.

History
Date User Action Args
2014-07-07 00:00:00adminsetmessages: + msg5124
2014-07-07 00:00:00adminsetstatus: open -> extension
2014-04-10 00:00:00admincreate