The following code prints \"failed\" to console: #include \"stdafx.h\" #include <locale> #include <memory>
How do I write a std::codecvt facet? I\'d like to write ones that go from UTF-16 to UTF-8, which go from UTF-16 to the systems current co开发者_如何学Gode page (windows, so CP_ACP), and to the system\
It\'s from the comment under this answer,but I re开发者_如何学Cally don\'t figure out what he means: