Created on 2010-08-25.00:00:00 last changed 164 months ago
Rationale:
Standard is correct as written
[ 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.[ 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.
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:39 | admin | set | messages: + msg5802 |
2011-03-24 15:58:06 | admin | set | messages: + msg5678 |
2011-03-24 15:58:06 | admin | set | status: open -> nad |
2010-10-24 22:33:31 | admin | set | messages: + msg5055 |
2010-10-24 10:50:39 | admin | set | messages: + msg4977 |
2010-08-25 00:00:00 | admin | create |