boost::text::v1::transcode_to_utf16
// In header: <boost/text/transcode_algorithm.hpp> template<std::size_t N, typename Char, std::output_iterator< uint16_t > O> transcode_result< Char *, O > transcode_to_utf16(Char(&) arr, O out);
Copies the code points in the array arr to out, changing the encoding to UTF-16.
arr
out