Checks if unary predicate p returns true for no elements in the value t.
#include <kumi/tuple.hpp>
#include <iostream>
int main()
{
std::cout << std::boolalpha <<
kumi::none_of( t, [](
auto e) {
return e > 10.; }) <<
"\n";
std::cout << std::boolalpha <<
kumi::none_of( 8, [](
auto e) {
return e > 10.; }) <<
"\n";
}
KUMI_TRIVIAL_NODISCARD constexpr bool none_of(Tuple const &ts, Pred p) noexcept
Checks if unary predicate p returns true for no elements in the value t.
Definition: predicates.hpp:104
Fixed-size collection of heterogeneous values.
Definition: tuple.hpp:35