WhisperCom/include/Whisper/types.hpp
2021-08-21 23:48:06 +02:00

8 lines
192 B
C++

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