#include <kumi/tuple.hpp>
#include <iostream>
#include <type_traits>
{
std::cout << std::boolalpha <<
kumi::count(7.89) <<
"\n";
}
KUMI_TRIVIAL_NODISCARD constexpr std::size_t count(T const &ts) noexcept
Counts the number of elements of t not equivalent to false.
Definition predicates.hpp:154
constexpr auto from_tuple(tuple< Ts... > const &t)
Converts a kumi::tuple to an instance of an arbitrary type.
Definition convert.hpp:59
Fixed-size collection of heterogeneous values.
Definition tuple.hpp:35