extern(C++) classes; dtor must go in vtable

Manu turkeyman at gmail.com
Mon May 21 22:26:38 UTC 2018


On 21 May 2018 at 14:53, Jonathan M Davis via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On Monday, May 21, 2018 14:33:44 Manu via Digitalmars-d wrote:
>> How do virtual destructors work in normal D classes?
>
> It is my understanding that destructors in D are never virtual but rather
> that the runtime handles calling them correctly.

Can someone please elaborate on this?
I want to know exactly what this means in practise.


More information about the Digitalmars-d mailing list