Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Function template is_sorted_until

boost::algorithm::is_sorted_until

Synopsis

// In header: <boost/algorithm/cxx11/is_sorted.hpp>


template<typename R> 
  BOOST_CXX14_CONSTEXPR boost::range_iterator< const R >::type 
  is_sorted_until(const R & range);

Description

Parameters:

range

The range to be tested.

Returns:

the point in the range R where the elements are unordered


PrevUpHomeNext