The new Character Type of UTF-8 Strings: char8_t
Get introduced to a new character type, 'char8_t'.
We'll cover the following...
In addition to the character types char16_t
and char32_t
from C++11, C++20 gets the new character type char8_t
. Type char8_t
is large enough to represent any UTF-8 code unit (8 bits). It has the same size, ...