Section: 23.2.2 [container.requirements.general] Status: NAD Editorial Submitter: INCITS Opened: 2010-08-25 Last modified: 2016-01-28
Priority: Not Prioritized
View other active issues in [container.requirements.general].
View all other issues in [container.requirements.general].
View all issues with NAD Editorial status.
Discussion:
Requirements on iterators swapping allegiance would disallow the small-string optimization.
[ Resolved in Rapperswil by paper N3108. ]
Proposed resolution:
Add an exclusion for basic_string
to the sentence
beginning “Every iterator referring to an
element...”. Add a sentence to 21.4.6.8/2 saying
that iterators and references to string elements
remain valid, but it is not specified whether they
refer to the same string or the other string.