368. basic_string::replace has two "Throws" paragraphs

Section: 24.3.2.6.6 [string.replace] Status: NAD Editorial Submitter: Beman Dawes Opened: 2002-06-03 Last modified: 2016-11-12

Priority: Not Prioritized

View all other issues in [string.replace].

View all issues with NAD Editorial status.

Discussion:

24.3.2.6.6 [string.replace] basic_string::replace, second signature, given in paragraph 1, has two "Throws" paragraphs (3 and 5).

In addition, the second "Throws" paragraph (5) includes specification (beginning with "Otherwise, the function replaces ...") that should be part of the "Effects" paragraph.

Proposed resolution:

Rationale:

This is editorial. Both "throws" statements are true. The bug is just that the second one should be a sentence, part of the "Effects" clause, not a separate "Throws". The project editor has been notified.