Using char16_t and char32_t in I/O
问题 C++11 introduces char16_t and char32_t to facilitate working with UTF-16- and UTF-32-encoded text strings. But the <iostream> library still only supports the implementation-defined wchar_t for multi-byte I/O. Why has support for char16_t and char32_t not been added to the <iostream> library to complement the wchar_t support? 回答1: In the proposal Minimal Unicode support for the standard library (revision 2) it is indicated that there was only support among the Library Working Group for