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

Adam D. Ruppe destructionator at gmail.com
Fri Aug 3 16:30:41 UTC 2018


On Friday, 3 August 2018 at 16:24:33 UTC, 12345swordy wrote:
> Your calling the gc if you call the destroy function for 
> classes as it calls the rt_finalize function.

rt_finalize is not the GC. It just calls destructors in order for 
each base class.

> Regardless you didn't answer the question that I posted in the 
> title.

Yes, I did. The .destroy function does that, but it ignores 
attributes.


More information about the Digitalmars-d mailing list