tmp/tmp1s9ggcmm/{from.md → to.md}
RENAMED
|
@@ -1,15 +1,14 @@
|
|
| 1 |
### [[strings]]: strings library <a id="diff.cpp03.strings">[[diff.cpp03.strings]]</a>
|
| 2 |
|
| 3 |
**Change:** `basic_string` requirements no longer allow
|
| 4 |
reference-counted strings. **Rationale:** Invalidation is subtly
|
| 5 |
different with reference-counted strings. This change regularizes
|
| 6 |
-
behavior
|
| 7 |
-
|
| 8 |
-
International Standard.
|
| 9 |
|
| 10 |
**Change:** Loosen `basic_string` invalidation rules. **Rationale:**
|
| 11 |
Allow small-string optimization. **Effect on original feature:** Valid
|
| 12 |
-
C++03 code may execute differently in this
|
| 13 |
-
|
| 14 |
-
|
| 15 |
|
|
|
|
| 1 |
### [[strings]]: strings library <a id="diff.cpp03.strings">[[diff.cpp03.strings]]</a>
|
| 2 |
|
| 3 |
**Change:** `basic_string` requirements no longer allow
|
| 4 |
reference-counted strings. **Rationale:** Invalidation is subtly
|
| 5 |
different with reference-counted strings. This change regularizes
|
| 6 |
+
behavior. **Effect on original feature:** Valid C++03 code may execute
|
| 7 |
+
differently in this revision of C++.
|
|
|
|
| 8 |
|
| 9 |
**Change:** Loosen `basic_string` invalidation rules. **Rationale:**
|
| 10 |
Allow small-string optimization. **Effect on original feature:** Valid
|
| 11 |
+
C++03 code may execute differently in this revision of C++. Some `const`
|
| 12 |
+
member functions, such as `data` and `c_str`, no longer invalidate
|
| 13 |
+
iterators.
|
| 14 |
|