PrevUpHomeNext

Function template next_paragraph_break

boost::text::v1::next_paragraph_break

Synopsis

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


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

Description

Finds the next paragraph break after it. This will be the first code point after the current paragraph, or r.end() if no next paragraph exists.

Returns a grapheme_iterator to the next paragraph break after it. This will be the first grapheme after the current paragraph, or r.end() if no next paragraph exists.

Requires:

it is at the beginning of a paragraph.

Requires:

it is at the beginning of a paragraph.


PrevUpHomeNext