forked from Research/WhisperCom
8 lines
192 B
C++
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;}
|