Create repository

This commit is contained in:
Данил
2025-02-21 19:01:20 +07:00
parent 1b94aadc54
commit a429424143
3 changed files with 54 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
// This macro adds meta information to a type.
#define GENERATE_META(Class) \
class Class; \
template<> struct Meta <Class> { \
static constexpr Classes TypeStr = Classes::##Class; \
};
// Predeclarate struct for meta information
template<class T> struct Meta;
// Enum type classes
enum class Classes
{
};