cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Features related to Standard header <cstdint>
.
Features declared here include mostly the special type names for the supported integer ("integral") types that are defined by the compiler:
[u]int_leastn_t
such as int_least32_t
.[u]intn_t
such as int32_t
.uint_fastn_t
such as int_fast32_t
.intmax_t
, uintmax_t
.intptr_t
, uintptr_t
.ssize_t
(via <cstddef> ).The following non-backport interfaces are defined:
cxxomfort::tinyint
, cxxomfort::tinyuint
- true numerical types with the same semantics of signed char, unsigned char
.For platforms without access to a Standard <stdint.h>
, cxxomfort makes this possible by providing a copy of pstdint.h the Portable stdint.
long long
is available, even in C++03 mode. Using a platform without such type is unsupported but can be tried by defining the "Configuration macro" CXXOFLAG_WITHOUT_LONGLONG
.