From Jason Turner

[cstdint]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp58db_wxi/{from.md → to.md} +0 -66
tmp/tmp58db_wxi/{from.md → to.md} RENAMED
@@ -1,66 +0,0 @@
1
- ## Integer types <a id="cstdint">[[cstdint]]</a>
2
-
3
- ### Header `<cstdint>` synopsis <a id="cstdint.syn">[[cstdint.syn]]</a>
4
-
5
- ``` cpp
6
- namespace std {
7
- using int8_t = signed integer type; // optional
8
- using int16_t = signed integer type; // optional
9
- using int32_t = signed integer type; // optional
10
- using int64_t = signed integer type; // optional
11
-
12
- using int_fast8_t = signed integer type;
13
- using int_fast16_t = signed integer type;
14
- using int_fast32_t = signed integer type;
15
- using int_fast64_t = signed integer type;
16
-
17
- using int_least8_t = signed integer type;
18
- using int_least16_t = signed integer type;
19
- using int_least32_t = signed integer type;
20
- using int_least64_t = signed integer type;
21
-
22
- using intmax_t = signed integer type;
23
- using intptr_t = signed integer type; // optional
24
-
25
- using uint8_t = unsigned integer type; // optional
26
- using uint16_t = unsigned integer type; // optional
27
- using uint32_t = unsigned integer type; // optional
28
- using uint64_t = unsigned integer type; // optional
29
-
30
- using uint_fast8_t = unsigned integer type;
31
- using uint_fast16_t = unsigned integer type;
32
- using uint_fast32_t = unsigned integer type;
33
- using uint_fast64_t = unsigned integer type;
34
-
35
- using uint_least8_t = unsigned integer type;
36
- using uint_least16_t = unsigned integer type;
37
- using uint_least32_t = unsigned integer type;
38
- using uint_least64_t = unsigned integer type;
39
-
40
- using uintmax_t = unsigned integer type;
41
- using uintptr_t = unsigned integer type; // optional
42
- }
43
- ```
44
-
45
- The header also defines numerous macros of the form:
46
-
47
- ``` cpp
48
- INT_[FAST LEAST]{8 16 32 64}_MIN
49
- [U]INT_[FAST LEAST]{8 16 32 64}_MAX
50
- INT{MAX PTR}_MIN
51
- [U]INT{MAX PTR}_MAX
52
- {PTRDIFF SIG_ATOMIC WCHAR WINT}{_MAX _MIN}
53
- SIZE_MAX
54
- ```
55
-
56
- plus function macros of the form:
57
-
58
- ``` cpp
59
- [U]INT{8 16 32 64 MAX}_C
60
- ```
61
-
62
- The header defines all types and macros the same as the C standard
63
- library header `<stdint.h>`.
64
-
65
- See also: ISO C 7.20
66
-