PrevUpHomeNext

Function template words

boost::text::v1::words

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> 
  unspecified words(I first, S last, WordPropFunc word_prop = WordPropFunc{}, 
                    WordBreakFunc word_break = WordBreakFunc{});

Description

Returns a view of the code point ranges delimiting words in [first, last). The result is returned as a borrowed_view_t in C++20 and later.

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


PrevUpHomeNext