Title
Clarify "throws an exception"
Status
c++11
Section
[res.on.functions]
Submitter
Alisdair Meredith

Created on 2009-03-11.00:00:00 last changed 161 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change the 4th bullet of [res.on.functions], p2:

  • if any replacement function or handler function or destructor operation throws exits via an exception, unless specifically allowed in the applicable Required behavior: paragraph.
Date: 2010-10-21.18:28:33

[ 2009-07 Frankfurt: ]

Replace "propagates" in the proposed resolution with the phrase "exits via" and move to Ready.

Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

The phrasing "throws an exception" is commonly used elsewhere to mean "throws or propagates an exception." Move to Open pending a possible more general resolution.

Date: 2009-03-11.00:00:00

Addresses UK 179

According to the 4th bullet there is a problem if "if any replacement function or handler function or destructor operation throws an exception". There should be no problem throwing exceptions so long as they are caught within the function.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg277
2010-10-21 18:28:33adminsetmessages: + msg276
2010-10-21 18:28:33adminsetmessages: + msg275
2009-03-11 00:00:00admincreate