Converts a tuple<Ts...> to a tuple<Us...>.
#include <kumi/tuple.hpp>
#include <iostream>
int main()
{
auto b = a.
cast<char,int,
double>();
std::cout << a << "\n";
std::cout << b << "\n";
}
constexpr auto cast() const
Converts a tuple<Ts...> to a tuple<Us...>.
Definition: tuple.hpp:124
Fixed-size collection of heterogeneous values.
Definition: tuple.hpp:35