D compiler need -nogc witch and document of library also need nogc button

Adam D. Ruppe destructionator at gmail.com
Tue Jun 11 12:40:39 UTC 2019


On Tuesday, 11 June 2019 at 08:59:01 UTC, dangbinghoo wrote:
> We need to make sure we use only @nogc API when writing code, 
> not when running the app.

That's what the @nogc annotation does, statically forces you to 
only use other @nogc stuff via compiler errors.


More information about the Digitalmars-d-learn mailing list