ΒΆtemplate <typename R, typename Compare>
bool is_sorted(R&& Range, Compare C)
template <typename R, typename Compare>
bool is_sorted(R&& Range, Compare C)
Description
Wrapper function around std::is_sorted to check if elements in a range \p R are sorted with respect to a comparator \p C.
Declared at: llvm/include/llvm/ADT/STLExtras.h:1697
Templates
- R
- Compare
Parameters
- R&& Range
- Compare C