When is a class's destructor called?

Mike none at none.com
Sun Dec 29 04:00:47 PST 2013


On Sunday, 29 December 2013 at 10:16:33 UTC, ponce wrote:
> If you want deterministic destruction, you have plenty of 
> choices:
> - scoped!
> - using structs instead
> - scope(exit)
> - RefCounted!
> - Unique!
> - ...

Do you happen to know of any clever technique to make object, and 
everything that inherits from it, a referenced counted object?


More information about the Digitalmars-d-learn mailing list