Overload new and delete to not use GC?

Rusty via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 22 00:35:32 PDT 2016


I know it's possible to do [explicit object 
allocation](http://wiki.dlang.org/Memory_Management#Explicit_Class_Instance_Allocation) on the heap, but I find that quite cumbersome.

So.. is it possible to overload 'new' and 'delete' to not use GC?

Also, it seems many features of the language rely on GC. Is there 
a definitive list of those?



More information about the Digitalmars-d-learn mailing list