Constructs a record of references to the arguments in args suitable for forwarding as an argument to a function. The record has rvalue reference data members when rvalues are used as arguments, and otherwise has lvalue reference data members.
#include <kumi/kumi.hpp>
#include <iostream>
#include <vector>
#include <string>
using namespace kumi::literals;
template<typename Data>
std::vector<std::string> build(Data d)
{
);
}
int main()
{
for(auto const& s : v)
std::cout << s << "\n";
}
decltype(auto) constexpr get(record< Ts... > &r) noexcept
Extracts the Ith field from a kumi::record.
Definition record.hpp:604