Title
Destructors should be noexcept by default
Status
c++11
Section
7.6.2.7 [expr.unary.noexcept]
Submitter
FI

Created on 2010-08-02.00:00:00 last changed 96 months ago

Messages

Date: 2010-11-15.00:00:00

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

Date: 2010-08-15.00:00:00

Notes from the August, 2010 meeting:

CWG agreed with the suggested direction.

(Duplicate of issue 1147.)

Date: 2010-08-02.00:00:00
N3092 comment FIĀ 17

Destructors should by default be noexcept. Such a rule should be obeyed even for cases where a destructor is defaulted. Then a throwing destructor would need to be declared noexcept(false), and the resulting code breakage is acceptable.

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetstatus: dr -> fdis
2010-11-29 00:00:00adminsetmessages: + msg3160
2010-11-29 00:00:00adminsetstatus: open -> dr
2010-08-23 00:00:00adminsetmessages: + msg2879
2010-08-02 00:00:00admincreate