← API Reference Namespace

asge::rtti

Functions

#template<typename T> std::string GetDemangledName() noexcept

Returns the human-readable, demangled name of type T.

Wraps compiler-specific RTTI demangling (abi::__cxa_demangle on GCC/Clang, UnDecorateSymbolName on MSVC) behind a single portable call. Falls back to the raw typeid(T).name() on unsupported compilers or if demangling fails.

Template Parameters
T

Type to name.

Returns

The demangled type name.