dmd.cppmangle

Do mangling for C++ linkage.

This is the POSIX side of the implementation. It exports two functions to C++, toCppMangleItanium and cppTypeInfoMangleItanium.

Members

Functions

cppTypeInfoMangleItanium
const(char)* cppTypeInfoMangleItanium(Dsymbol s)
isPrimaryDtor
bool isPrimaryDtor(const Dsymbol sym)

Determine if sym is the 'primary' destructor, that is, the most-aggregate destructor (the one that is defined as __xdtor)

toCppMangleItanium
const(char)* toCppMangleItanium(Dsymbol s)

Bugs

https://issues.dlang.org/query.cgi

enter C++, mangling as the keywords.

Meta