Concatenates tuples in a single one.
- Parameters
-
- Returns
- A tuple made of all element of all input tuples in order
Helper type
namespace kumi::result
{
using cat_t =
typename cat<Tuples...>::type;
}
Concept specifying a type follows the Product Type semantic.
Definition: concepts.hpp:33
KUMI_TRIVIAL_NODISCARD constexpr auto cat(Tuples &&... ts)
Concatenates tuples in a single one.
Definition: cat.hpp:36
Computes the return type of a call to kumi::cat
Example
#include <kumi/tuple.hpp>
#include <iostream>
int main()
{
std::cout << a << " " << b << " " << c << "\n";
std::cout << abc << "\n";
}
Fixed-size collection of heterogeneous values.
Definition: tuple.hpp:35