tmp/tmp4bkwdfaq/{from.md → to.md}
RENAMED
|
@@ -2,46 +2,46 @@
|
|
| 2 |
|
| 3 |
### Header `<cstdint>` synopsis <a id="cstdint.syn">[[cstdint.syn]]</a>
|
| 4 |
|
| 5 |
``` cpp
|
| 6 |
namespace std {
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
}
|
| 43 |
```
|
| 44 |
|
| 45 |
The header also defines numerous macros of the form:
|
| 46 |
|
| 47 |
``` cpp
|
|
@@ -57,11 +57,10 @@ 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
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
the C standard) play no role in C++.
|
| 67 |
|
|
|
|
| 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
|
|
|
|
| 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 |
+
ISO C 7.20.
|
|
|
|
| 66 |
|