Container‐based version of the <algorithm> std::inplace_merge() function to merge a supplied iterator middle into a container.

Synopsis

Declared in <absl/algorithm/container.h>

template<typename C>
void
c_inplace_merge(
    C& c,
    /* implementation-defined */ middle);

Parameters

Name

Description

c

The container holding the two consecutive sorted ranges to merge.

middle

An iterator to the start of the second sorted range.

Created with MrDocs