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

Enums

CppOperator
enum CppOperator
Undocumented in source.

Functions

cppTypeInfoMangleItanium
const(char)* cppTypeInfoMangleItanium(Dsymbol s)
isCppOperator
CppOperator isCppOperator(Identifier id)
Undocumented in source. Be warned that the author may not have intended to support it.
isPrimaryDtor
bool isPrimaryDtor(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