_nu_cpp_delete

Deletes a C++ object on the heap.

Notes: doXDtor is used to specify whether to also call any D mangled destructors defined for the C++ type.

@nogc
void
_nu_cpp_delete
(
T
bool doXDtor
)
(
ref T ptr
)
if ()

Parameters

ptr T

The object to delete.

Meta