c_sort overloads
Declared in <absl/algorithm/container.h>
Container-based version of the <algorithm> std::sort() function to sort elements in ascending order of their values.
template<typename C>
constexpr
void
c_sort(C& c);
» more...
Overload of c_sort() for performing a comp comparison other than the default operator<.
template<
typename C,
typename LessThan>
constexpr
void
c_sort(
C& c,
LessThan&& comp);
» more...
| Name | Description |
|---|---|
| c | The container to sort. |
| comp | The comparison used to order the elements. |