On Thursday, 31 January 2013 at 18:59:20 UTC, Steven Schveighoffer wrote:
Structs by default are easily destroyed from the stack, but lack the fundamental cogs to get GC-based destruction.

-Steve

Perhaps _d_newitemT() and buddies can check whether it creates structs, store a collection of pointers to structs it allocates and at the end of program some druntime routine loops through out of the collection to run dtors?

Reply via email to