interfacing c++

Markus contact at markus-lanner.com
Wed Nov 22 16:06:59 UTC 2017


another indicator (as documented) that GC destructor won't work
// extern(C++) classes don't have a classinfo pointer in their 
vtable so the GC can't finalize them
https://github.com/dlang/druntime/blob/3d8d4a45c01832fb657c16a656b6e1566d77fb21/src/rt/lifetime.d#L90
annoying :(

Markus


More information about the Digitalmars-d-learn mailing list