#pragma once #include template const std::string GetTypeName(); #define DEFINE_TYPE_NAME(type, name) \ template<>const std::string GetTypeName(){return name;}