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

Name

Description

c

The container to sort.

Created with MrDocs