boost::algorithm::boundary_finder
// In header: <boost/unicode/search.hpp> template<typename F, typename B> struct boundary_finder { // construct/copy/destruct boundary_finder(F, B); // public member functions template<typename Iterator> iterator_range< Iterator > operator()(Iterator, Iterator) const; };