PrevUpHomeNext

Function template starts_with

boost::text::v1::starts_with

Synopsis

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


template<code_point_iter I1, std::sentinel_for< I1 > S1, code_point_iter I2, 
         std::sentinel_for< I2 > S2> 
  bool starts_with(I1 first1, S1 last1, I2 first2, S2 last2);

Description

A Unicode-friendly version of std::ranges::starts_with(). Compatibility overloads exist to support operating on code points and graphemes; ranges and null-terminated strings; and different UTF formats. This means that this overload set is compatible with text, rope, etc.


PrevUpHomeNext