Container‐based version of the <algorithm> std::find_if_not() function to find the first element in a container not matching the given condition.

Synopsis

Declared in <absl/algorithm/container.h>

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

Return Value

An iterator to the first element not satisfying pred, or the end iterator if none is found.

Parameters

Name

Description

c

The container to search.

pred

The predicate applied to each element.

Created with MrDocs