boost::unicode::u16_boundary
// In header: <boost/unicode/utf_codecs.hpp> struct u16_boundary { // types typedef char16 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-16 code units.