27 #ifndef NANO_NUMERIC_TYPES_HPP
28 #define NANO_NUMERIC_TYPES_HPP
39 template <std::
size_t Value>
48 static constexpr std::size_t
value = Value;
71 static constexpr
int value = Value;
82 #endif // NANO_NUMERIC_TYPES_HPP
Wrapper around int for static int types used by metaclass and metafunctions in nano.
Definition: numeric_types.hpp:63
std::size_t type
Definition: numeric_types.hpp:43
Definition: containers.hpp:34
static constexpr std::size_t value
Gets the value of the tyoe at compile time.
Definition: numeric_types.hpp:48
constexpr std::size_t runtime_value() const
Gets the value of the type at runtime.
Definition: numeric_types.hpp:54
int type
Definition: numeric_types.hpp:66
static constexpr int value
Gets the value type at compile time.
Definition: numeric_types.hpp:71
Wrapper around size_t for static size_t types used by metaclass and metafunctions in nano...
Definition: numeric_types.hpp:40
constexpr int runtime_value() const
Gets the value of the type at runtime.
Definition: numeric_types.hpp:77