89. Missing throw specification for string::insert() and string::replace()

Section: 27.4.3.7.4 [string.insert], 27.4.3.7.6 [string.replace] Status: Dup Submitter: Nico Josuttis Opened: 1998-09-29 Last modified: 2016-11-12

Priority: Not Prioritized

View all other issues in [string.insert].

View all issues with Dup status.

Duplicate of: 83

Discussion:

All insert() and replace() members for strings with an iterator as first argument lack a throw specification. The throw specification should probably be: length_error if size exceeds maximum.

Rationale:

Considered a duplicate because it will be solved by the resolution of issue 83.