Created on 2003-09-18.00:00:00 last changed 171 months ago
Rationale:
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.
Proposed resolution:
Remove [string.erase] paragraph 5.
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, 21.3.5.5, 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.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg2601 |
2010-10-21 18:28:33 | admin | set | messages: + msg2600 |
2003-09-18 00:00:00 | admin | create |