From Jason Turner

[diff.cpp03.library]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp745kskgf/{from.md → to.md} +14 -17
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]] – [[thread]] **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>`, `<initializer_list>`, `<mutex>`, `<random>`, `<ratio>`,
15
- `<regex>`, `<scoped_allocator>`, `<system_error>`, `<thread>`,
16
- `<tuple>`, `<typeindex>`, `<type_traits>`, `<unordered_map>`, and
17
- `<unordered_set>`. In addition the following C compatibility headers are
18
- new: `<cfenv>`, `<cinttypes>`, `<cstdint>`, and `<cuchar>`. Valid C++03
19
- code that `#include`s headers with these names may be invalid in this
20
- revision of C++.
21
 
22
- **Effect on original feature:** Function `swap` moved to a different
23
- header **Rationale:** Remove dependency on `<algorithm>` for `swap`.
24
- **Effect on original feature:** Valid C++03 code that has been compiled
25
- expecting swap to be in `<algorithm>` may have to instead include
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
- `carries_dependency`, or `noreturn` as macros is invalid in this
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