gcc.gnu Chapter 28. Demangling
在 stackoverflow Is it possible to print a variable's type in standard C++? # A 中 使用了
__cxa_demangle
Transforming C++ ABI identifiers (like RTTI symbols) into the original C++ source identifiers is called “demangling.”
abi Namespace Reference
Returns:
A pointer to the start of the NUL-terminated demangled name, or NULL if the demangling fails. The caller is responsible for deallocating this memory using free
.
NOTE:
1、resource return