Prevent destroy() from calling base deconstructor of a derived class?

Dragonson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 25 10:50:18 PDT 2017


I need to call only the deconstructor of the derived class I have 
an instance of, not every deconstructor in the inheritance chain. 
Putting `override` before the destructor doesn't compile so I'm 
not sure how to achieve this?




More information about the Digitalmars-d-learn mailing list