Hello, folks! Newbie to D, have some questions!

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Feb 19 05:59:25 PST 2017


On 2017-02-19 13:45, ketmar wrote:

> nogc doesn't turn it off, if
> says that compiler must ensure that *your* *code* doesn't allocate,

Just to clarify, allocate using the GC. It's perfectly fine to allocate 
using malloc in a @nogc function.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list