boost::unicode::u8_decoder
// In header: <boost/unicode/utf_codecs.hpp> struct u8_decoder { // types typedef char input_type; typedef char32 output_type; typedef mpl::int_< 1 > max_output; // private member functions template<typename In> void check(bool, In, In); // 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
that converts a sequence of UTF-8 code units into a single code point.