| const(char)[] buf | The string to demangle. |
| char[] dst | An optional destination buffer. |
| const(char)[] buf | The string to demangle. |
| char[] dst | An optional destination buffer. |
| 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!(int function(int))("a.b") == "_D1a1bPFiZi");
| T | function pointer type. |
| const(char)[] fqn | The fully qualified name of the symbol. |
| char[] dst | An optional destination buffer. |
assert(mangleFunc!(int function(int))("a.b") == "_D1a1bFiZi");
assert(mangleFunc!(int function(Object))("object.Object.opEquals") == "_D6object6Object8opEqualsFC6ObjectZi");