mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
0545adfac3
Have fun!
13 lines
186 B
C++
13 lines
186 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <typeinfo>
|
|
|
|
std::string demangle(const char* name);
|
|
|
|
template <class T>
|
|
std::string type(const T& t) {
|
|
|
|
return demangle(typeid(t).name());
|
|
}
|