This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 22.214.171.124.5 [string.erase] Status: CD1 Submitter: Martin Sebor Opened: 2003-09-18 Last modified: 2016-11-12
Priority: Not Prioritized
View all other issues in [string.erase].
View all issues with CD1 status.
23.1.1, p3 along with Table 67 specify as a prerequisite for a.erase(q) that q must be a valid dereferenceable iterator into the sequence a.
However, 126.96.36.199, p5 describing string::erase(p) only requires that p be a valid iterator.
This may be interepreted as a relaxation of the general requirement, which is most likely not the intent.
Remove 188.8.131.52.5 [string.erase] paragraph 5.
The LWG considered two options: changing the string requirements to match the general container requirements, or just removing the erroneous string requirements altogether. The LWG chose the latter option, on the grounds that duplicating text always risks the possibility that it might be duplicated incorrectly.