Container‐based version of the <algorithm> std::is_sorted() function to evaluate whether the given container is sorted in ascending order.
Synopsis
Declared in <absl/algorithm/container.h>
template<typename C>
constexpr
bool
c_is_sorted(C const& c);
Return Value
true if c is sorted in ascending order, otherwise false.
Parameters
Name |
Description |
c |
The container to test. |
Created with MrDocs