Created on 1998-09-29.00:00:00 last changed 183 months ago
Rationale:
Throws clauses for length_error if n == npos are no longer needed because they are subsumed by the general wording added by the resolution for issue 83.
Proposed resolution:
In [string.require], Strike throws paragraphs for constructors which say "Throws: length_error if n == npos."
The constructor from a range:
template<class InputIterator>
basic_string(InputIterator begin, InputIterator end,
const Allocator& a = Allocator());
lacks a throws clause. However, I would expect that it throws according to the other constructors if the numbers of characters in the range equals npos (or exceeds max_size(), see above).
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-10-21 18:28:33 | admin | set | messages: + msg198 |
| 2010-10-21 18:28:33 | admin | set | messages: + msg197 |
| 1998-09-29 00:00:00 | admin | create | |