C++11 introduces char16_t and char32_t to facilitate working with UTF-16– and UTF-32-encoded text strings. It’s useful, when encoding strings of characters, to have a type of definite size and signedness :
C++11 uses the uprefix for char16_t character and string constants:
u'C' u"This is a UTF-16 string."
The char16_t type is a natural match for universal character names of the form \u00F6;
Similarly, dealing with Data uses the U prefix for char32_t constants:
U'C' U"This is a UTF-32 string."
The char32_t type is a natural match for universal character names of the form \U0000222B.
Integer type long long int specified in C99 and de facto widely used in C + +. Finally, it legalized and most C++ compilers support it as an extension already. A long long integer is at least 64 bits wide and at least as big as long.
- long long
C++11 adds the long long and unsigned long long types to support 64-bit integers (or wider) . C++11 provides the ll and LL suffixes for type long long, and ull, Ull, uLL, and ULL for unsigned long long.
- long long int
- unsigned long long
- unsigned long long int