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

Algorithms applying transformation to records. More...

Functions

template<typename Function, concepts::record_type R, concepts::record_type... Rs>
requires (concepts::compatible_product_types<R, Rs...>)
constexpr void kumi::for_each_field (Function f, R &&r, Rs &&... rs)
 Applies the Callable object f on each element of a record type and its field.
template<concepts::record_type T, typename Function, concepts::sized_product_type< size_v< T > >... Ts>
requires (concepts::compatible_product_types<T, Ts...>)
constexpr auto kumi::map_field (Function f, T &&t0, Ts &&... others)
 Applies the Callable object f on each records' fields and their associated names.