std.container.Array

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 3 09:44:43 PDT 2014


Is there a good reason std.container.Array doesn't work with 
@nogc? The ddoc seems pretty explicit about its purpose:

Array type with deterministic control of memory. The memory 
allocated for the array is reclaimed as soon as possible; there 
is no reliance on the garbage collector. Array uses malloc and 
free for managing its own memory.


More information about the Digitalmars-d-learn mailing list