[#absl-c_make_heap-06] = xref:absl.adoc[absl]::c_make_heap :relfileprefix: ../ :mrdocs: `c_make_heap` overloads == Synopses Declared in `<absl/algorithm/container.h>` Container‐based version of the <algorithm> `std::make_heap()` function to make a container a heap. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename RandomAccessContainer> constexpr void xref:absl/c_make_heap-07.adoc[c_make_heap](RandomAccessContainer& sequence); ---- [.small]#xref:absl/c_make_heap-07.adoc[_» more..._]# Overload of `c_make_heap()` for performing heap comparisons using a `comp` other than `operator<` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename RandomAccessContainer, typename LessThan> constexpr void xref:absl/c_make_heap-0d.adoc[c_make_heap]( RandomAccessContainer& sequence, LessThan&& comp); ---- [.small]#xref:absl/c_make_heap-0d.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The container to rearrange into a heap. | *comp* | The comparison used to order the heap. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#