#include <kumi/utils/ct_helpers.hpp>
Forms a integral constant literal of the desired value.
- Returns
- An instance of kumi::index_t for the specified integral value
Example:
#include <kumi/tuple.hpp>
#include <iostream>
int main()
{
using namespace kumi::literals;
auto v = 42_c;
auto w = kumi::index<63>;
std::cout << v << "\n";
std::cout << w << "\n";
}