[#absl-c_partial_sort-0c] = xref:absl.adoc[absl]::c_partial_sort :relfileprefix: ../ :mrdocs: Overload of `c_partial_sort()` for performing a `comp` comparison other than the default `operator<`. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename RandomAccessContainer, typename LessThan> constexpr void c_partial_sort( RandomAccessContainer& sequence, /* implementation-defined */ middle, LessThan&& comp); ---- == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The container to partially sort. | *middle* | An iterator to the end of the range to be sorted. | *comp* | The comparison used to order the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#