Function template prev_grapheme_break
boost::text::v1::prev_grapheme_break
Synopsis
template<code_point_range R>
std::ranges::borrowed_iterator_t< R >
prev_grapheme_break(R && r, std::ranges::iterator_t< R > it);
Description
Finds the nearest grapheme break at or before before it
. If it == range.begin()
, that is returned. Otherwise, the first code point of the grapheme that it
is within is returned (even if it
is already at the first code point of a grapheme).