PrevUpHomeNext

Function template next_hard_line_break

boost::text::v1::next_hard_line_break

Synopsis

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


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

Description

Finds the next hard line break after it. This will be the first code point after the current line, or r.end() if no next line exists. 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 next hard line break after it. This will be the first grapheme after the current line, or r.end() if no next line exists. A hard line break follows any code points with the property BK, CR (not followed by LF), LF, or NL.

Requires:

it is at the beginning of a line.

Requires:

it is at the beginning of a line.


PrevUpHomeNext