View source code
Display the source code in dmd/target.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Struct dmd.target.TargetCPP

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

struct TargetCPP ;

Fields

NameTypeDescription
exceptions boolset if catching C++ exceptions is supported
reverseOverloads boolset if overloaded functions are grouped and in reverse order (such as in dmc and cl)
twoDtorInVtable booltarget C++ ABI puts deleting and non-deleting destructor into vtable

Methods

NameDescription
fundamentalType Checks whether type is a vendor-specific fundamental type.
parameterType Get the type that will really be used for passing the given argument to an extern(C++) function.
toMangle Mangle the given symbol for C++ ABI.
typeInfoMangle Get RTTI mangling of the given class declaration for C++ ABI.
typeMangle Gets vendor-specific type mangling for C++ ABI.

Authors

Walter Bright

License

Boost License 1.0