Counts the number of elements of t satisfying predicates p.
#include <kumi/kumi.hpp>
#include <iostream>
#include <type_traits>
int main()
{
std::cout << std::boolalpha
}
constexpr std::size_t count_if(T &&ts, Pred p) noexcept
Counts the number of elements of t satisfying predicates p.
Definition predicates.hpp:125
constexpr auto predicate() noexcept
Convert a unary template meta-program in a running predicate.
Definition ct_helpers.hpp:111
Fixed-size collection of heterogeneous values.
Definition tuple.hpp:29