Extracts the values of the fields of a kumi::product_type.
#include <kumi/kumi.hpp>
#include <iostream>
int main()
{
using namespace kumi::literals;
kumi::tuple t = {
"x"_id = 1, 2.3, 4.5f,
"z"_id =
'@' };
kumi::record r = {
"x"_id = 1,
"y"_id = 2.f,
"z"_id =
'#',
"t"_id = 12};
}
Fixed-size collection of heterogeneous tagged fields, tags are unique.
Definition record.hpp:36
constexpr auto values_of(T &&t) noexcept
Extracts the values of the fields of a kumi::product_type.
Definition tuple.hpp:754
Fixed-size collection of heterogeneous values.
Definition tuple.hpp:33