Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template is_sorted

boost::algorithm::is_sorted

Synopsis

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


template<typename R> bool is_sorted(const R & range);

Description

Parameters:

range

The range to be tested.

Returns:

whether or not the entire range R is sorted


PrevUpHomeNext