Title
Exception safety of unspecified types
Status
nad
Section
[library]
Submitter
BSI

Created on 2010-08-25.00:00:00 last changed 165 months ago

Messages

Date: 2011-06-02.15:28:39

Rationale:

Standard is correct as written

Date: 2011-03-24.00:00:00

[ 2011-03-24 Madrid meeting ]

Discussion:

Alisdair: Probably an NAD Future at least but could be NAD.

Daniel K: Approach is not consistent with what we've decided with noexcept.

Alisdair: Any objection to marking 1348 as NAD?

No objections.

Date: 2010-10-24.22:33:31

[ Resolution proposed by ballot comment ]

Clearly state the requirements for exception specifications on all unspecified library types. For example, all container iterator operations should be conditionally noexcept, with the condition matching the same operation applied to the allocator's pointer_type, a certain subset of which are already required not to throw.

Date: 2010-10-24.22:33:31

Addresses GB-64

There are a number of unspecified types used throughout the library, such as the container iterators. Many of these unspecified types have restrictions or expectations on their behaviour in terms of exceptions. Are they permitted or required to use exception specifications, more specifically the new noexcept specification? For example, if vector<T>::iterator is implemented as a native pointer, all its operations will have an (effective) noexcept specification. If the implementation uses a class type to implement this iterator, is it permitted or required to support that same guarantee?

History
Date User Action Args
2011-06-02 15:28:39adminsetmessages: + msg5802
2011-03-24 15:58:06adminsetmessages: + msg5678
2011-03-24 15:58:06adminsetstatus: open -> nad
2010-10-24 22:33:31adminsetmessages: + msg5055
2010-10-24 10:50:39adminsetmessages: + msg4977
2010-08-25 00:00:00admincreate