absl::c_find_if_not

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

NameDescription
cThe container to search.
predThe predicate applied to each element.