Skip to content

Commit fae7fb7

Browse files
committed
Move [diff.cpp03.strings] to after [diff.cpp03.algorithms] for numerical clause order
1 parent b19f63e commit fae7fb7

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

‎source/compatibility.tex‎

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2605,28 +2605,6 @@
26052605
\tcode{unary_function} or \tcode{binary_function} may fail to compile
26062606
in this revision of \Cpp{}.
26072607

2608-
\rSec2[diff.cpp03.strings]{\ref*{strings}: strings library}
2609-
2610-
\diffref{string.classes}
2611-
\change
2612-
\tcode{basic_string} requirements no longer allow reference-counted
2613-
strings.
2614-
\rationale
2615-
Invalidation is subtly different with reference-counted strings.
2616-
This change regularizes behavior.
2617-
\effect
2618-
Valid \CppIII{} code may execute differently in this revision of \Cpp{}.
2619-
2620-
\diffref{string.require}
2621-
\change
2622-
Loosen \tcode{basic_string} invalidation rules.
2623-
\rationale
2624-
Allow small-string optimization.
2625-
\effect
2626-
Valid \CppIII{} code may execute differently in this revision of \Cpp{}.
2627-
Some \keyword{const} member functions, such as \tcode{data} and \tcode{c_str},
2628-
no longer invalidate iterators.
2629-
26302608
\rSec2[diff.cpp03.containers]{\ref*{containers}: containers library}
26312609

26322610
\diffref{container.requirements}
@@ -2733,6 +2711,28 @@
27332711
\tcode{std::remove_if} may leave the tail of the input sequence with a
27342712
different set of values than previously.
27352713

2714+
\rSec2[diff.cpp03.strings]{\ref*{strings}: strings library}
2715+
2716+
\diffref{string.classes}
2717+
\change
2718+
\tcode{basic_string} requirements no longer allow reference-counted
2719+
strings.
2720+
\rationale
2721+
Invalidation is subtly different with reference-counted strings.
2722+
This change regularizes behavior.
2723+
\effect
2724+
Valid \CppIII{} code may execute differently in this revision of \Cpp{}.
2725+
2726+
\diffref{string.require}
2727+
\change
2728+
Loosen \tcode{basic_string} invalidation rules.
2729+
\rationale
2730+
Allow small-string optimization.
2731+
\effect
2732+
Valid \CppIII{} code may execute differently in this revision of \Cpp{}.
2733+
Some \keyword{const} member functions, such as \tcode{data} and \tcode{c_str},
2734+
no longer invalidate iterators.
2735+
27362736
\rSec2[diff.cpp03.numerics]{\ref*{numerics}: numerics library}
27372737

27382738
\diffref{complex.numbers}

0 commit comments

Comments
 (0)