[#absl-c_inplace_merge-0f] = xref:absl.adoc[absl]::c_inplace_merge :relfileprefix: ../ :mrdocs: `c_inplace_merge` overloads == Synopses Declared in `<absl/algorithm/container.h>` Container‐based version of the <algorithm> `std::inplace_merge()` function to merge a supplied iterator `middle` into a container. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename C> void xref:absl/c_inplace_merge-0e5.adoc[c_inplace_merge]( C& c, /* implementation-defined */ middle); ---- [.small]#xref:absl/c_inplace_merge-0e5.adoc[_» more..._]# Overload of `c_inplace_merge()` for performing a merge using a `comp` other than `operator<`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename LessThan> void xref:absl/c_inplace_merge-0e4.adoc[c_inplace_merge]( C& c, /* implementation-defined */ middle, LessThan&& comp); ---- [.small]#xref:absl/c_inplace_merge-0e4.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container holding the two consecutive sorted ranges to merge. | *middle* | An iterator to the start of the second sorted range. | *comp* | The comparison used to order the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#