metaprogramming/src/Data.hpp
2024-11-27 20:30:52 +01:00

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>
{};