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).
Synopsis
Declared in <absl/algorithm/container.h>
template<typename RandomAccessContainer>
constexpr
void
c_sort_heap(RandomAccessContainer& sequence);
Parameters
Name |
Description |
sequence |
The heap container to sort. |
Created with MrDocs