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 char1.

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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -