PrevUpHomeNext

Function template next_sentence_break

boost::text::v1::next_sentence_break

Synopsis

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


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

Description

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

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

Requires:

it is at the beginning of a sentence.

Requires:

it is at the beginning of a sentence.


PrevUpHomeNext