This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.
88. Inconsistency between string::insert() and string::append()Section: 27.4.3.7.4 [string.insert], 27.4.3.7.2 [string.append] Status: NAD 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 NAD status.
Discussion:
Why does
template<class InputIterator> basic_string& append(InputIterator first, InputIterator last);
return a string, while
template<class InputIterator> void insert(iterator p, InputIterator first, InputIterator last);
returns nothing ?
Rationale:
The LWG believes this stylistic inconsistency is not sufficiently serious to constitute a defect.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4