KUMI v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches
Tuple Type Specific Transformations

Algorithms applying transformation to tuples. More...

Functions

template<typename Function, concepts::product_type T, concepts::product_type... Ts>
requires (!concepts::record_type<T> && (!concepts::record_type<Ts> && ...))
constexpr void kumi::for_each_index (Function f, T &&t, Ts &&... ts)
 Applies the Callable object f on each element of a product type and its index.
template<concepts::product_type T, typename Function, concepts::sized_product_type< size_v< T > >... Ts>
requires (!concepts::record_type<T> && (!concepts::record_type<Ts> && ...))
constexpr auto kumi::map_index (Function f, T &&t0, Ts &&... others)
 Applies the Callable object f on each tuples' elements and their indexes.