boost::unicode::u8_boundary
// In header: <boost/unicode/utf_codecs.hpp> struct u8_boundary { // types typedef char input_type; // public member functions template<typename In> bool operator()(In, In, In); };
Model of BoundaryChecker
that tells whether a position lies on a code point boundary within a range of UTF-8 code units.