Is it possible to deinitialize the class without calling the gc?

Adam D. Ruppe destructionator at gmail.com
Fri Aug 3 15:41:13 UTC 2018


On Friday, 3 August 2018 at 15:32:54 UTC, 12345swordy wrote:
> Is there RecusiveDestruct function that can be called that is 
> attribute friendly?

No, the destructor definition in the language is not attribute 
friendly. Best you can do is `.destroy(obj)` and it can't see all 
the @nogc stuff (because the language doesn't actually support it 
here)


More information about the Digitalmars-d mailing list