namespace kumi::result
{
template<product_type T>
using as_flat_ptr_t = typename as_flat_ptr<T>::type;
}
auto as_flat_ptr(T &&t) noexcept
Convert a kumi::product_type to a flat product type of pointers to each its components.
Definition flatten.hpp:264
#include <kumi/kumi.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:37