PrevUpHomeNext

Function template lexicographical_compare_three_way

boost::text::lexicographical_compare_three_way

Synopsis

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


template<typename Iter1, typename Sentinel1, typename Iter2, 
         typename Sentinel2> 
  int lexicographical_compare_three_way(Iter1 first1, Sentinel1 last1, 
                                        Iter2 first2, Sentinel2 last2);

Description

Sentinel-friendly version of std::lexicographical_compare_three_way(), except that it returns an int instead of a std::strong_ordering.


PrevUpHomeNext