Converts a product type of product types into a product type of all elements.
#include <kumi/kumi.hpp>
#include <iostream>
int main()
{
using namespace kumi::literals;
auto more_nbrs =
kumi::record{
"a"_id = 0,
"b"_id = nbrs,
"c"_id = 4};
auto ltrs =
kumi::record{
"a"_id =
'a',
"b"_id =
'b',
"c"_id =
'c'};
,"d"_id = more_nbrs,"e"_id = 5.35f,"f"_id = ltrs} );
std::cout << r << "\n";
}
Fixed-size collection of heterogeneous fields necessarily named, names are unique.
Definition record.hpp:29