Movatterモバイル変換


[0]ホーム

URL:


Issue 1912 - WG21 CWG Issues
Title
exception-specification of defaulted function
Status
cd5
Section
9.6.2 [dcl.fct.def.default]
Submitter
Ville Voutilainen

Created on2014-04-10.00:00:00 last changed43 months ago

Messages

msg5124 (view)
Date: 2014-06-15.00:00:00

Rationale (June, 2014):

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

msg5038 (view)
Date: 2019-02-15.00:00:00

[Accepted at the February, 2019 meeting as part of paper P1286R2.]

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

History
DateUserActionArgs
2022-04-28 06:49:37adminsetstatus: extension -> cd5
2014-07-07 00:00:00adminsetmessages: +msg5124
2014-07-07 00:00:00adminsetstatus: open -> extension
2014-04-10 00:00:00admincreate

[8]ページ先頭

©2009-2025 Movatter.jp