boost::text::replace_result
// In header: <boost/text/normalize_algorithm.hpp> template<typename Iter> struct replace_result : public boost::text::subrange< Iter > { // types typedef Iter iterator; // construct/copy/destruct replace_result() = default; replace_result(iterator, iterator); // public member functions operator iterator() const; };
The result of inserting a sequence of code points S
into another sequence of code points D
, ensuring proper normalization. Since the insertion operation may need to change some code points just before and/or just after the insertion due to normalization, the code points bounded by this range may be longer than S
. Values of this type represent the entire sequence of of code points in D
that have changed.
Note that the iterator type refers to the underlying sequence, which may not itself be a sequence of code points. For example, the underlying sequence may be a sequence of char
which is interpreted as UTF-8.