Container‐based version of the <algorithm> std::partition_point() function to return the first element of an already partitioned container for which the given pred is not true.

Synopsis

Declared in <absl/algorithm/container.h>

template<
    typename C,
    typename Pred>
constexpr
/* implementation-defined */
c_partition_point(
    C& c,
    Pred&& pred);

Return Value

An iterator to the first element for which pred is not true.

Parameters

Name

Description

c

The already partitioned container to inspect.

pred

The predicate the container is partitioned by.

Created with MrDocs