Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
新しい文字タイプ、、、およびをwchar_t考慮したc ++ 0xでの運命は何ですか?char8_tchar16_tchar32_t
wchar_t
char8_t
char16_t
char32_t
さらに重要なのは、、std::wstringなどはstd::wcoutどうですか?
std::wstring
std::wcout
w *ファミリークラスは非推奨ですか?新しいキャラクタータイプの新しいクラス はありますか?std::ustringstd::Ustring
std::ustring
std::Ustring
wchar_tには何も起こりませんが、それでも実装固有です(そしてCと互換性があります)。
新しいタイプchar16_tおよびchar32_tには、新しい標準で定義されたセマンティクスがあります。古いwchar_tは、それらの1つと同等である可能性がありますが、実装が異なると異なる可能性があります。または、一部のシステムでは、それらのいずれもありません。
typedefu16stringとu32string新しい文字タイプの文字列がありますが、新しい標準ストリームはありません。
u16string
u32string