From Jason Turner

[depr.cpp.headers]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpdp1hs_dj/{from.md → to.md} +57 -0
tmp/tmpdp1hs_dj/{from.md → to.md} RENAMED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## C++standard library headers <a id="depr.cpp.headers">[[depr.cpp.headers]]</a>
2
+
3
+ For compatibility with prior C++International Standards, the C++standard
4
+ library provides headers `<ccomplex>` ([[depr.ccomplex.syn]]),
5
+ `<cstdalign>` ([[depr.cstdalign.syn]]), `<cstdbool>` (
6
+ [[depr.cstdbool.syn]]), and `<ctgmath>` ([[depr.ctgmath.syn]]). The use
7
+ of these headers is deprecated.
8
+
9
+ ### Header `<ccomplex>` synopsis <a id="depr.ccomplex.syn">[[depr.ccomplex.syn]]</a>
10
+
11
+ ``` cpp
12
+ #include <complex>
13
+ ```
14
+
15
+ The header `<ccomplex>` behaves as if it simply includes the header
16
+ `<complex>` ([[complex.syn]]).
17
+
18
+ ### Header `<cstdalign>` synopsis <a id="depr.cstdalign.syn">[[depr.cstdalign.syn]]</a>
19
+
20
+ ``` cpp
21
+ #define __alignas_is_defined 1
22
+ ```
23
+
24
+ The contents of the header `<cstdalign>` are the same as the C standard
25
+ library header `<stdalign.h>`, with the following changes: The header
26
+ `<cstdalign>` and the header `<stdalign.h>` shall not define a macro
27
+ named `alignas`.
28
+
29
+ ISO C 7.15.
30
+
31
+ ### Header `<cstdbool>` synopsis <a id="depr.cstdbool.syn">[[depr.cstdbool.syn]]</a>
32
+
33
+ ``` cpp
34
+ #define __bool_true_false_are_defined 1
35
+ ```
36
+
37
+ The contents of the header `<cstdbool>` are the same as the C standard
38
+ library header `<stdbool.h>`, with the following changes: The header
39
+ `<cstdbool>` and the header `<stdbool.h>` shall not define macros named
40
+ `bool`, `true`, or `false`.
41
+
42
+ ISO C 7.18.
43
+
44
+ ### Header `<ctgmath>` synopsis <a id="depr.ctgmath.syn">[[depr.ctgmath.syn]]</a>
45
+
46
+ ``` cpp
47
+ #include <complex>
48
+ #include <cmath>
49
+ ```
50
+
51
+ The header `<ctgmath>` simply includes the headers `<complex>` (
52
+ [[complex.syn]]) and `<cmath>` ([[cmath.syn]]).
53
+
54
+ [*Note 1*: The overloads provided in C by type-generic macros are
55
+ already provided in `<complex>` and `<cmath>` by “sufficient” additional
56
+ overloads. — *end note*]
57
+