demangleCXX

private fnchar[] demangleCXX(return scope const(char)[] buf, CXX_DEMANGLER __cxa_demangle, return scope char[] dst = null,) nothrow pure @trusted

Demangles C++ mangled names. If it is not a C++ mangled name, it returns its argument name.

Parameters

bufThe string to demangle.
__cxa_demangleC++ demangler
dstAn optional destination buffer.

Returns

The demangled name or the original string if the name is not a mangled

C++ name.