Algorithm: is_sorted

Functions

template<typename ForwardIterator >
bool is_sorted (ForwardIterator first, ForwardIterator last)
 Return true if the range is in sorted order.
template<typename ForwardIterator , typename StrictWeakOrdering >
bool is_sorted (ForwardIterator first, ForwardIterator last, StrictWeakOrdering comp)
 Return true if the range is in sorted order.

Detailed Description

These functions are provided as an SGI extension of the STL. I've put implementations here to avoid dependency on the SGI extensions.

Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3