char(8/16/32)_t

This makes char(8/16/32)_t available under the type definitions of ztd_char(8/16/32)_t. This allows their use uniformly in C and C++, regardless of whether or not the type definition is present in the proper place.

typedef ZTD_CHAR8_T_I_ ztd_char8_t

An alias to a unsigned representation of an 8-bit (or greater) code unit type.

Remark

This will be a type alias for the type given in ZTD_CHAR8_T if it is defined by the user. Otherwise, it will be a type alias for char8_t if present. If neither are available, it will alias unsigned char for the type.

typedef uint_least16_t ztd_char16_t

An alias to a unsigned representation of an 16-bit (or greater) code unit type.

Remark

Certain platforms lack the header uchar.h, and therefore sometimes this will be aliased to its standard-defined uint_least16_t rather than just char16_t.

typedef uint_least32_t ztd_char32_t

An alias to a unsigned representation of an 32-bit (or greater) code unit type.

Remark

Certain platforms lack the header uchar.h, and therefore sometimes this will be aliased to its standard-defined uint_least32_t rather than just char32_t.