boost::text::v1::prev_hard_line_break
// In header: <boost/text/line_break.hpp> template<code_point_iter I, std::sentinel_for< I > S> I prev_hard_line_break(I first, I it, S last);
Finds the nearest hard line break at or before before it
. If it == first
, 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.