Home | Libraries | People | FAQ | More |
boost::algorithm::is_strictly_increasing
// In header: <boost/algorithm/cxx11/is_sorted.hpp> template<typename ForwardIterator> bool is_strictly_increasing(ForwardIterator first, ForwardIterator last);
Note | |
---|---|
This function will return false for sequences that contain items that compare equal. If that is not what you intended, you should use is_increasing instead. |
Parameters: |
|
||||
Returns: |
true if the entire sequence is strictly increasing; i.e, each item is greater than the previous one |