c_inplace_merge overloads
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.
template<typename C>
void
c_inplace_merge(
C& c,
/* implementation-defined */ middle);
» more...
Overload of c_inplace_merge() for performing a merge using a comp other than operator<.
template<
typename C,
typename LessThan>
void
c_inplace_merge(
C& c,
/* implementation-defined */ middle,
LessThan&& comp);
» more...
| 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. |