ΒΆtemplate <typename R>
bool is_sorted(R&& Range)
template <typename R>
bool is_sorted(R&& Range)
Description
Wrapper function around std::is_sorted to check if elements in a range \p R are sorted in non-descending order.
Declared at: llvm/include/llvm/ADT/STLExtras.h:1703
Templates
- R
Parameters
- R&& Range