char32_t

suggest change

An unsigned integer type with the same size and alignment as uint_least32_t, which is therefore large enough to hold a UTF-32 code unit.

const char32_t full_house[] = U"πŸ‚£πŸ‚³πŸ‚¨πŸ‚ΈπŸƒˆ";               // non-BMP characters
std::cout << sizeof(full_house) / sizeof(char32_t) << "\n"; // prints 6

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents