Title
Deprecating exception specifications
Status
cd2
Section
14.5 [except.spec]
Submitter
UK

Created on 2009-03-03.00:00:00 last changed 143 months ago

Messages

Date: 2010-03-15.00:00:00

[Voted into WP at March, 2010 meeting as paper N3051.]

Date: 2009-07-15.00:00:00

Notes from the July, 2009 meeting:

The consensus of the CWG was in favor of deprecating exception specifications. Further discussion, and with a wider constituency, is needed to determine a position on the status of throw().

(See also issue 814.)

Date: 2009-03-03.00:00:00
N2800 comment UKĀ 136

Exception specifications have proven close to worthless in practice, while adding a measurable overhead to programs. The feature should be deprecated. The one exception to the rule is the empty throw specification which could serve a legitimate optimizing role if the requirement to call std::unexpected were relaxed in this case.

History
Date User Action Args
2010-03-29 00:00:00adminsetmessages: + msg2747
2010-03-29 00:00:00adminsetstatus: open -> cd2
2009-08-03 00:00:00adminsetmessages: + msg2224
2009-03-03 00:00:00admincreate