PrevUpHomeNext

Function template line

boost::text::v1::line

Synopsis

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


template<code_point_range R> 
  unspecified line(R && r, std::ranges::iterator_t< R > it);

Description

Returns the bounds of the line (using hard line breaks) that it lies within. Returns a utf32_view; in C++20 and later, if std::ranges::borrowed_range<R> is false, this function returns a std::ranges::dangling instead.

Returns grapheme range delimiting the bounds of the line (using hard line breaks) that it lies within. Returns a grapheme_view; in C++20 and later, if std::ranges::borrowed_range<R> is false, this function returns a std::ranges::dangling instead.


PrevUpHomeNext