Don't expect class destructors to be called at all by the GC

Mike Parker aldacron at gmail.com
Wed Jan 31 10:34:53 UTC 2018


On Wednesday, 31 January 2018 at 10:14:53 UTC, DanielG wrote:

>
> Pardon my probable ignorance (D newbie and all), but why 
> wouldn't a 'delete' work for this?
>
> https://dlang.org/spec/expression.html#delete_expressions

delete is deprecated:

https://dlang.org/deprecate.html#delete


More information about the Digitalmars-d-learn mailing list