demangle

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

nothrow pure @safe
char[]
demangle
(
return scope const(char)[] buf
,
return scope char[] dst = null
,
CXX_DEMANGLER __cxa_demangle = null
)

Parameters

buf const(char)[]

The string to demangle.

dst char[]

An optional destination buffer.

__cxa_demangle CXX_DEMANGLER

optional C++ demangler

Return Value

Type: char[]

The demangled name or the original string if the name is not a mangled D/C++ name.

Meta