[#absl-c_push_heap-0e] = xref:absl.adoc[absl]::c_push_heap :relfileprefix: ../ :mrdocs: `c_push_heap` overloads == Synopses Declared in `<absl/algorithm/container.h>` Container‐based version of the <algorithm> `std::push_heap()` function to push a value onto a container heap. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename RandomAccessContainer> constexpr void xref:absl/c_push_heap-0f.adoc[c_push_heap](RandomAccessContainer& sequence); ---- [.small]#xref:absl/c_push_heap-0f.adoc[_» more..._]# Overload of `c_push_heap()` for performing a push operation on a heap using a `comp` other than `operator<`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename RandomAccessContainer, typename LessThan> constexpr void xref:absl/c_push_heap-03.adoc[c_push_heap]( RandomAccessContainer& sequence, LessThan&& comp); ---- [.small]#xref:absl/c_push_heap-03.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The heap container whose last element is pushed onto the heap. | *comp* | The comparison used to order the heap. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#