Movatterモバイル変換


[0]ホーム

URL:


This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-12-20


1123. Destructors should benoexcept by default

Section:7.6.2.7  [expr.unary.noexcept]    Status:C++11    Submitter:FI    Date:2010-08-02

[Voted into the WP at the November, 2010 meeting as paper N3204.]

N3092 comment FI 17

Destructors should by default be noexcept. Such a ruleshould be obeyed even for cases where a destructor isdefaulted. Then a throwing destructor would need to bedeclarednoexcept(false), and the resulting codebreakage is acceptable.

Notes from the August, 2010 meeting:

CWG agreed with the suggested direction.

(Duplicate ofissue 1147.)




[8]ページ先頭

©2009-2026 Movatter.jp