When is a class's destructor called?

Dicebot public at dicebot.lv
Sun Dec 29 02:45:54 PST 2013


On Sunday, 29 December 2013 at 06:58:03 UTC, Mike wrote:
> Ok, I understand that, but since I don't have a garbage 
> collector, what must I implement to call the destructor when it 
> goes out of scope?

Patch compiler to make all classes scope classes. But that won't 
be D anymore.


More information about the Digitalmars-d-learn mailing list