Sourcecore/demangle.d
demangle(return scope const(char)[]buf, return scope char[]dst = null, CXX_DEMANGLER__cxa_demangle = null);const(char)[]buf | The string to demangle. |
char[]dst | An optional destination buffer. |
CXX_DEMANGLER__cxa_demangle | optional C++ demangler |
demangleType(const(char)[]buf, char[]dst = null);const(char)[]buf | The string to demangle. |
char[]dst | An optional destination buffer. |
reencodeMangled(return scope const(char)[]mangled);const(char)[]mangled | The mangled string representing the type |
mangle(T)(return scope const(char)[]fqn, return scope char[]dst = null);| T | The type of the symbol. |
const(char)[]fqn | The fully qualified name of the symbol. |
char[]dst | An optional destination buffer. |
assert(mangle!int("a.b") =="_D1a1bi");assert(mangle!(char[])("test.foo") =="_D4test3fooAa");assert(mangle!(intfunction(int))("a.b") =="_D1a1bPFiZi");
mangleFunc(T : FT*, FT)(return scope const(char)[]fqn, return scope char[]dst = null)| T | function pointer type. |
const(char)[]fqn | The fully qualified name of the symbol. |
char[]dst | An optional destination buffer. |
cPrefix;getCXXDemangler();