boost::text::v1::prev_hard_line_break
// In header: <boost/text/line_break.hpp> template<code_point_range R> std::ranges::borrowed_iterator_t< R > prev_hard_line_break(R && r, std::ranges::iterator_t< R > it);
Finds the nearest hard line break at or before before it
. If it == r.begin()
, that is returned. Otherwise, the first code point of the line that it
is within is returned (even if it
is already at the first code point of a line). A hard line break follows any code points with the property BK, CR (not followed by LF), LF, or NL.
Returns a grapheme_iterator
to the nearest hard line break at or before before it
. If it == r.begin()
, that is returned. Otherwise, the first grapheme of the line that it
is within is returned (even if it
is already at the first grapheme of a line). A hard line break follows any code points with the property BK, CR (not followed by LF), LF, or NL.