#include <kumi/kumi.hpp>
#include <iostream>
{
using parent::operator=;
};
inline constexpr my_id my_field{};
int main()
{
using namespace kumi::literals;
std::cout << t << "\n";
std::cout << t["x"_l] << "\n";
std::cout << t["mystery"_l] << "\n";
t["mystery"_l]++;
std::cout << t["mystery"_l] << "\n";
}
identifier definition class
Definition identifier.hpp:86
friend constexpr str to_str(identifier< ID, Checker > const &)
A checked field str representation is the underlying type, checker is ignored.
Definition identifier.hpp:91
Static string used to create named fields.
Definition str.hpp:24
Fixed-size collection of heterogeneous values.
Definition tuple.hpp:33