15 lines
219 B
C++
15 lines
219 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
template<typename Type, Type Value>
|
|
struct Data {
|
|
using type = Type;
|
|
static constexpr Type value = Value;
|
|
};
|
|
|
|
template<int64_t Value>
|
|
struct Number :
|
|
public Data<int64_t, Value>
|
|
{};
|
|
|