Tools for interacting with kumi::tuple. More...
Classes | |
struct | kumi::as_tuple< T, Meta > |
Generate a kumi::tuple type from a type. More... | |
struct | kumi::index_t< N > |
Integral constant type. More... | |
Functions | |
template<product_type Tuple> requires ( size_v<Tuple> != 0) | |
KUMI_TRIVIAL_NODISCARD constexpr decltype(auto) | kumi::back (Tuple &&t) |
Retrieves the back of a tuple. | |
template<typename Type , typename... Ts> requires (!product_type<Type> && _::implicit_constructible<Type, Ts...>) | |
constexpr auto | kumi::from_tuple (tuple< Ts... > const &t) |
Converts a kumi::tuple to an instance of an arbitrary type. | |
template<product_type Tuple> requires ( size_v<Tuple> != 0) | |
KUMI_TRIVIAL_NODISCARD constexpr decltype(auto) | kumi::front (Tuple &&t) |
Retrieves the front of a tuple. | |
template<char... c> | |
constexpr auto | kumi::literals::operator""_c () noexcept |
Forms a integral constant literal of the desired value. | |
template<template< class > class Pred> | |
constexpr auto | kumi::predicate () noexcept |
Convert a unary template meta-program in a running predicate. | |
template<product_type Type> | |
constexpr auto | kumi::to_tuple (Type &&t) |
Converts a kumi::product_type to an instance kumi::tuple. | |
Variables | |
template<std::size_t N> | |
constexpr index_t< N > const | kumi::index = {} |
Inline integral constant value for kumi::index_t. | |