Encoding | Kind | Type | Associated char- | Example | |
prefix | acter encoding | ||||
none | char | ordinary | 'v' | ||
non-encodable ordinary character literal | int | literal | '\U0001F525' | ||
ordinary multicharacter literal | int | encoding | 'abcd' | ||
L | wchar_t | wide literal | L'w' | ||
encoding | |||||
u8 | char8_t | UTF-8 | u8'x' | ||
u | char16_t | UTF-16 | u'y' | ||
U | char32_t | UTF-32 | U'z' |