Constructs a tuple where the ith element is the prduct type of all ith elements of ts...
#include <kumi/kumi.hpp>
#include <iostream>
int main()
{
using namespace kumi::literals;
auto id =
kumi::record{
"aa"_id =
'a',
"bb"_id =
'b',
"cc"_id =
'c'};
auto value =
kumi::record{
"aaa"_id = 1.0,
"bbb"_id = 2.1,
"ccc"_id = 4.2,
"d"_id = 8.4};
{
std::cout << "# " << i
<< ":" << std::boolalpha
<< e << "\n";
}
, r
);
}
constexpr auto cartesian_product(Ts &&... ts)
Return the Cartesian Product of all elements of its arguments product types.
Definition cartesian_product.hpp:64
Fixed-size collection of heterogeneous fields necessarily named, names are unique.
Definition record.hpp:29