How to get nogc to work with manual memory allocation

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 24 05:11:29 PDT 2014


Bienlein:

>> @nogc is meant mostly for stack-allocation.
>
> Ah, I missed that. Thanks for telling me.

@nogc is also for allocation from the C heap, despite this is 
less common :-)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list