Container‐based version of the <algorithm> std::make_heap() function to make a container a heap.

Synopsis

Declared in <absl/algorithm/container.h>

template<typename RandomAccessContainer>
constexpr
void
c_make_heap(RandomAccessContainer& sequence);

Parameters

Name

Description

sequence

The container to rearrange into a heap.

Created with MrDocs