extern(C++, ns)

Max Samukha via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 18 12:11:08 PST 2016


On Monday, 18 January 2016 at 10:24:28 UTC, Walter Bright wrote:

> A known problem is that D doesn't put destructors in the vtbl[] 
> for C++ classes, although it should. Also, virtual destructors 
> on Linux 64 consume 2 slots in the vtbl[], which surprised me.
>

One is for the destructor, the other - for the destructor and 
delete.






More information about the Digitalmars-d mailing list