Container-based version of the <algorithm> std::none_of() function to test if no elements in a container fulfill a condition.
Declared in <absl/algorithm/container.h>
template<
typename C,
typename Pred>
constexpr
bool
c_none_of(
C const& c,
Pred&& pred);
true if pred returns false for all elements of c.
| Name | Description |
|---|---|
| c | The container to test. |
| pred | The predicate applied to each element. |