custom memory management

Dicebot public at dicebot.lv
Fri Feb 28 05:38:58 PST 2014


On Friday, 28 February 2014 at 13:32:33 UTC, Namespace wrote:
> I will vote, too. It's somewhat strange: Since it works with 
> delete it should also work with the current GC, or? Someone 
> should figure out why and how delete works this way. :)

Well, delete is deprecated so it can do any kind of arcane 
horrors :)

More idiomatic destroy + GC.free pair will work because destroy 
is a template function.


More information about the Digitalmars-d-learn mailing list