c_pop_heap overloads
Synopses
Declared in <absl/algorithm/container.h>
Container‐based version of the <algorithm> std::pop_heap() function to pop a value from a heap container.
template<typename RandomAccessContainer>
constexpr
void
c_pop_heap(RandomAccessContainer& sequence);
Overload of c_pop_heap() for performing a pop operation on a heap using a comp other than operator<.
template<
typename RandomAccessContainer,
typename LessThan>
constexpr
void
c_pop_heap(
RandomAccessContainer& sequence,
LessThan&& comp);
Parameters
Name |
Description |
sequence |
The heap container to pop from. |
comp |
The comparison used to order the heap. |
Created with MrDocs