mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-16 20:24:39 -06:00
13 lines
183 B
C++
13 lines
183 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());
|
|
}
|