kumi v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches
Tuple Algorithms

Algorithms for manipulating kumi::tuple. More...

Topics

 Tuple Generalized Reductions
 Algorithms performing reductions over tuples.
 Tuple Generators
 Algorithms generating tuples.
 Tuple Queries
 Algorithms querying properties from tuples.
 Tuple Transformations
 Algorithms applying transformation to tuple.

Functions

template<concepts::product_type T, concepts::identifier K>
constexpr bool kumi::contains (T &&t, K const &k) noexcept
 Checks if product type contains a given identifier.
template<concepts::product_type T, concepts::identifier... Ks>
constexpr bool kumi::contains_any (T &&t, Ks const &... ks) noexcept
 Checks if product type contains at least one of many identifier.
template<concepts::product_type T, concepts::identifier... Ks>
constexpr bool kumi::contains_none (T &&t, Ks const &... ks) noexcept
 Checks if product type contains no fields based on any of the selected identifiers.
template<concepts::product_type T, concepts::identifier... Ks>
constexpr bool kumi::contains_only (T &&t, Ks const &... ks) noexcept
 Checks if product type contains fields based only on selected identifiers.
template<concepts::product_type T>
constexpr auto kumi::members_of (as< T >) noexcept
 Extracts the names of the fields of a kumi::product_type.
template<concepts::product_type T>
constexpr auto kumi::values_of (T &&t) noexcept
 Extracts the values of the fields of a kumi::product_type.