boost::unicode::utf_decoder
// In header: <boost/unicode/utf_codecs.hpp> struct utf_decoder { // types typedef char32 input_type; typedef char32 output_type; typedef mpl::int_< 1 > max_output; // public member functions template<typename In, typename Out> Out ltr(In &, In, Out); template<typename In, typename Out> Out rtl(In, In &, Out); };
Model of Converter
, either behaves like u16_decoder
, a u8_decoder
or nothing depending on the value type of the input range.