TargetCPP

Functions and variables specific to interface with extern(C++) ABI.

Members

Functions

fundamentalType
bool fundamentalType(const Type t, ref bool isFundamental)

Checks whether type is a vendor-specific fundamental type.

parameterType
Type parameterType(Parameter p)

Get the type that will really be used for passing the given argument to an extern(C++) function.

toMangle
const(char)* toMangle(Dsymbol s)

Mangle the given symbol for C++ ABI.

typeInfoMangle
const(char)* typeInfoMangle(ClassDeclaration cd)

Get RTTI mangling of the given class declaration for C++ ABI.

typeMangle
const(char)* typeMangle(Type t)

Gets vendor-specific type mangling for C++ ABI.

Meta