Overload of c_partial_sort() for performing a comp comparison other than the default operator<.
Synopsis
Declared in <absl/algorithm/container.h>
template<
typename RandomAccessContainer,
typename LessThan>
constexpr
void
c_partial_sort(
RandomAccessContainer& sequence,
/* implementation-defined */ middle,
LessThan&& comp);
Parameters
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. |
Created with MrDocs