c - What counts as character type in C11? -
what belongs "character type" in c11 — besides char
of course?
to more precise, special exceptions character type (for example any object can accessed lvalue expression of character type — see §6.5/7 in c11 standard), concrete types apply? seem apply uint8_t
, int8_t
stdint.h
, guaranteed? on other hand gcc doesn't regard char16_t
uchar.h
"character type".
only char
, signed char
, unsigned char
1.
the types uint8_t
, int8_t
, char16_t
, or type in form intn_t
or charn_t
, may or may not synonyms character type.
1(quoted from: iso/iec 9899:201x 6.2.5 types 15)
3 types char, signed char, , unsigned char collectively called character types.
Comments
Post a Comment