boost::unicode::static_u16_encoder
// In header: <boost/unicode/static_utf_codecs.hpp> template<char32 I> struct static_u16_encoder { // public member functions BOOST_STATIC_ASSERT(I<=); };
Meta-function that takes a Unicode code point and returns it encoded in UTF-16 as a boost::mpl::u16string
boost::mpl::u16string
static_u16_encoder
BOOST_STATIC_ASSERT(I<= 0x10FFFFu);