Container-based version of the <algorithm> std::sort_heap() function to sort a heap into ascending order (after which it is no longer a heap).
Declared in <absl/algorithm/container.h>
template<typename RandomAccessContainer>
constexpr
void
c_sort_heap(RandomAccessContainer& sequence);
| Name | Description |
|---|---|
| sequence | The heap container to sort. |