boost::text::v1::allowed_line
// In header: <boost/text/line_break.hpp> template<code_point_range R> unspecified allowed_line(R && r, std::ranges::iterator_t< R > it);
Returns the bounds of the smallest chunk of text that could be broken off into a line, searching from it
in either direction. Returns a
; in C++20 and later, if line_break_cp_view
std::ranges::borrowed_range<R>
is false
, this function returns a std::ranges::dangling
instead.
Returns a grapheme range delimiting the bounds of the line (using hard line breaks) that it
lies within. Returns a
; in C++20 and later, if line_break_grapheme_view
std::ranges::borrowed_range<R>
is false
, this function returns a std::ranges::dangling
instead.