#include <iostream>
#include <kumi/kumi.hpp>
auto get_student(int id)
{
}
int main()
{
auto student0 = get_student(0);
std::cout << "ID: 0, "
auto [ gpa1, grade1, name1 ] = get_student(1);
std::cout << "ID: 1, "
<< "GPA: " << gpa1 << ", "
<< "grade: " << grade1 << ", "
<< "name: " << name1 << '\n';
std::cout << "\n";
auto all_students =
kumi::make_tuple(get_student(0),get_student(1),get_student(2));
std::cout << "Data #" << i << " : " << m << "\n";
}
, all_students
);
std::cout << "\n";
std::cout << grades << "\n";
}
constexpr transpose_t transpose
Callable object transposing a product type of product types by shifting elements in their transposed ...
Definition transpose.hpp:96
decltype(auto) constexpr get(record< Ts... > &r) noexcept
Extracts the Ith field from a kumi::record.
Definition record.hpp:766