absl::c_sort

Container-based version of the <algorithm> std::sort() function to sort elements in ascending order of their values.

Synopsis

Declared in <absl/algorithm/container.h>

template<typename C>
constexpr
void
c_sort(C& c);

Parameters

NameDescription
cThe container to sort.