|
2605 | 2605 | \tcode{unary_function} or \tcode{binary_function} may fail to compile |
2606 | 2606 | in this revision of \Cpp{}. |
2607 | 2607 |
|
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 | | - |
2630 | 2608 | \rSec2[diff.cpp03.containers]{\ref*{containers}: containers library} |
2631 | 2609 |
|
2632 | 2610 | \diffref{container.requirements} |
|
2733 | 2711 | \tcode{std::remove_if} may leave the tail of the input sequence with a |
2734 | 2712 | different set of values than previously. |
2735 | 2713 |
|
| 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 | + |
2736 | 2736 | \rSec2[diff.cpp03.numerics]{\ref*{numerics}: numerics library} |
2737 | 2737 |
|
2738 | 2738 | \diffref{complex.numbers} |
|
0 commit comments