kumi v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches

Integral constant type. More...

#include <kumi/utils/ct_helpers.hpp>

Detailed Description

template<std::size_t N>
struct kumi::index_t< N >

Integral constant type.

Defines a integral constant wrapper used to carry compile-time constant through API

Public Member Functions

constexpr operator std::size_t () const noexcept
 Conversion operator to integer.

Static Public Attributes

static constexpr auto value = N
 Value stored by the constant.