Algorithms for manipulating kumi::tuple.
More...
|
| 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.
|