tmp/tmp745kskgf/{from.md → to.md}
RENAMED
|
@@ -1,39 +1,36 @@
|
|
| 1 |
### [[library]]: library introduction <a id="diff.cpp03.library">[[diff.cpp03.library]]</a>
|
| 2 |
|
| 3 |
-
**Affected:** [[library]] – [[
|
| 4 |
identifiers. **Rationale:** Required by new features. **Effect on
|
| 5 |
original feature:** Valid C++03 code that uses any identifiers added to
|
| 6 |
the C++ standard library by later revisions of C++ may fail to compile
|
| 7 |
or produce different results in this revision of C++. A comprehensive
|
| 8 |
list of identifiers used by the C++ standard library can be found in the
|
| 9 |
Index of Library Names in this document.
|
| 10 |
|
| 11 |
**Change:** New headers. **Rationale:** New functionality. **Effect on
|
| 12 |
original feature:** The following C++ headers are new: `<array>`,
|
| 13 |
-
`<atomic>`, `<chrono>`,
|
| 14 |
-
`<future>`, `<
|
| 15 |
-
`<
|
| 16 |
-
`<
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
revision of C++.
|
| 21 |
|
| 22 |
-
**
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
`<utility>`.
|
| 27 |
|
| 28 |
**Change:** New reserved namespace. **Rationale:** New functionality.
|
| 29 |
**Effect on original feature:** The global namespace `posix` is now
|
| 30 |
reserved for standardization. Valid C++03 code that uses a top-level
|
| 31 |
namespace `posix` may be invalid in this revision of C++.
|
| 32 |
|
| 33 |
**Change:** Additional restrictions on macro names. **Rationale:** Avoid
|
| 34 |
hard to diagnose or non-portable constructs. **Effect on original
|
| 35 |
feature:** Names of attribute identifiers may not be used as macro
|
| 36 |
-
names. Valid C++03 code that defines `override`, `final`,
|
| 37 |
-
|
| 38 |
-
revision of C++.
|
| 39 |
|
|
|
|
| 1 |
### [[library]]: library introduction <a id="diff.cpp03.library">[[diff.cpp03.library]]</a>
|
| 2 |
|
| 3 |
+
**Affected:** [[library]] – [[exec]] **Change:** New reserved
|
| 4 |
identifiers. **Rationale:** Required by new features. **Effect on
|
| 5 |
original feature:** Valid C++03 code that uses any identifiers added to
|
| 6 |
the C++ standard library by later revisions of C++ may fail to compile
|
| 7 |
or produce different results in this revision of C++. A comprehensive
|
| 8 |
list of identifiers used by the C++ standard library can be found in the
|
| 9 |
Index of Library Names in this document.
|
| 10 |
|
| 11 |
**Change:** New headers. **Rationale:** New functionality. **Effect on
|
| 12 |
original feature:** The following C++ headers are new: `<array>`,
|
| 13 |
+
`<atomic>`, `<chrono>`, `<condition_variable>`, `<forward_list>`,
|
| 14 |
+
`<future>`, , `<mutex>`, `<random>`, `<ratio>`, `<regex>`,
|
| 15 |
+
`<scoped_allocator>`, `<system_error>`, `<thread>`, `<tuple>`, ,
|
| 16 |
+
`<type_traits>`, `<unordered_map>`, and `<unordered_set>`. In addition
|
| 17 |
+
the following C compatibility headers are new: `<cfenv>`, `<cinttypes>`,
|
| 18 |
+
`<cstdint>`, and `<cuchar>`. Valid C++03 code that `#include`s headers
|
| 19 |
+
with these names may be invalid in this revision of C++.
|
|
|
|
| 20 |
|
| 21 |
+
**Change:** Function `swap` moved to a different header. **Rationale:**
|
| 22 |
+
Remove dependency on `<algorithm>` for `swap`. **Effect on original
|
| 23 |
+
feature:** Valid C++03 code that has been compiled expecting `swap` to
|
| 24 |
+
be in `<algorithm>` may have to instead include `<utility>`.
|
|
|
|
| 25 |
|
| 26 |
**Change:** New reserved namespace. **Rationale:** New functionality.
|
| 27 |
**Effect on original feature:** The global namespace `posix` is now
|
| 28 |
reserved for standardization. Valid C++03 code that uses a top-level
|
| 29 |
namespace `posix` may be invalid in this revision of C++.
|
| 30 |
|
| 31 |
**Change:** Additional restrictions on macro names. **Rationale:** Avoid
|
| 32 |
hard to diagnose or non-portable constructs. **Effect on original
|
| 33 |
feature:** Names of attribute identifiers may not be used as macro
|
| 34 |
+
names. Valid C++03 code that defines `override`, `final`, or `noreturn`
|
| 35 |
+
as macros is invalid in this revision of C++.
|
|
|
|
| 36 |
|