PrevUpHomeNext

Function template normalize_erase

boost::text::v1::normalize_erase

Synopsis

// In header: <boost/text/normalize_algorithm.hpp>


template<nf Normalization, utf_string String, 
         typename StringIter = std::ranges::iterator_t<String> > 
  replace_result< StringIter > 
  normalize_erase(String & string, StringIter str_first, StringIter str_last);

Description

Erases the subsequence [str_first, str_last) within string, maintaining stream-safe format. Returns a view indicating the changed portion of string. Note that the insertion operation may mutate some code points just before or just after the erased sequence.

See Also:

https://unicode.org/reports/tr15/#Stream_Safe_Text_Format

Requires:

string is in normalization form Normalization.

Requires:

string is stream-safe format.

Requires:

str_first and str_last are at code point boundaries.


PrevUpHomeNext