Definition for kumi defined product type classes and functions.
More...
|
| template<typename... Ts> |
| constexpr auto | kumi::tie (Ts &... ts) -> tuple< Ts &... > |
| | Creates a kumi::tuple of lvalue references to its arguments.
|
| template<typename... Ts> |
| constexpr auto | kumi::forward_as_tuple (Ts &&... ts) -> tuple< Ts &&... > |
| | Creates a kumi::tuple of forwarding references to its arguments.
|
| template<typename... Ts> |
| constexpr auto | kumi::make_tuple (Ts &&... ts) -> tuple< std::unwrap_ref_decay_t< Ts >... > |
| | Creates a tuple object, deducing the target type from the types of arguments.
|
| template<concepts::product_type T> |
| constexpr auto | kumi::to_ref (T &&t) |
| | Creates a kumi::tuple of references given a reference to a kumi::product_type.
|
|
template<typename Type, typename... Ts>
requires (!concepts::product_type<Type> && kumi_implementation_defined) |
| constexpr auto | kumi::from_tuple (tuple< Ts... > const &t) |
| | Converts a kumi::tuple to an instance of an arbitrary type.
|
| template<concepts::product_type T> |
| constexpr auto | kumi::to_tuple (T &&t) |
| | Converts a kumi::product_type to an instance kumi::tuple.
|