namespace kumi::result
{
template<product_type Tuple>
using as_flat_ptr_t = typename as_flat_ptr<Tuple>::type;
}
KUMI_TRIVIAL_NODISCARD auto as_flat_ptr(Tuple &&ts) noexcept
Convert a kumi::product_type to a flat tuple of pointers to each its components.
Definition: flatten.hpp:175
#include <kumi/tuple.hpp>
#include <iostream>
int main()
{
std::cout << a << "\n";
std::cout << ptr << "\n";
std::cout << a << "\n";
}
Fixed-size collection of heterogeneous values.
Definition: tuple.hpp:35