[#absl-c_nth_element-08] = xref:absl.adoc[absl]::c_nth_element :relfileprefix: ../ :mrdocs: Overload of `c_nth_element()` 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_nth_element( RandomAccessContainer& sequence, /* implementation-defined */ nth, LessThan&& comp); ---- == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The container to rearrange. | *nth* | An iterator to the element to place in its sorted position. | *comp* | The comparison used to order the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#