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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template is_sorted_until

boost::algorithm::is_sorted_until

Synopsis

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


template<typename ForwardIterator> 
  ForwardIterator is_sorted_until(ForwardIterator first, ForwardIterator last);

Description

Parameters:

first

The start of the sequence to be tested.

last

One past the end of the sequence

Returns:

the point in the sequence [first, last) where the elements are unordered


PrevUpHomeNext