reinterpret_cast<const char *> ()
.std::uint32_t
as a character type? char32_t
instead?std::ostreambuf_iterator<char32_t>
works with GCC 4.7.2 and clang 3.2
|
|
|
|
#include <codecvt>
gives an error. std::codecvt_utf16<char32_t>
to a stream.char32_t
works on string streams because no code conversion is required.