PrevUpHomeNext

Function template next_word_break

boost::text::v1::next_word_break

Synopsis

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


template<code_point_iter I, std::sentinel_for< I > S, 
         word_prop_func WordPropFunc = word_prop_callable, 
         word_break_func WordBreakFunc = untailored_word_break> 
  I next_word_break(I first, S last, 
                    WordPropFunc const & word_prop = WordPropFunc{}, 
                    WordBreakFunc const & word_break = WordBreakFunc{});

Description

Finds the next word break after first. This will be the first code point after the current word, or last if no next word exists.

See the Text Segmentation section of the tutorial for WordPropFunc semantics.

Requires:

first is at the beginning of a word.


PrevUpHomeNext