Creates a record object, deducing the target type from the types of arguments.
#include <kumi/kumi.hpp>
#include <functional>
#include <iostream>
int main()
{
using namespace kumi::literals;
int k = 99;
auto t =
kumi::make_record(
"x"_id = 1,
"y"_id = 2.3,
"z"_id = 4.5f,
"t"_id =
'@',
"m"_id = std::ref(k));
std::cout << t << "\n";
std::cout << k << "\n";
}
decltype(auto) constexpr get(record< Ts... > &r) noexcept
Extracts the Ith field from a kumi::record.
Definition record.hpp:604