Andrei's list of barriers to D adoption

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 7 11:32:05 PDT 2016


On Tuesday, 7 June 2016 at 18:24:33 UTC, Walter Bright wrote:
> You can also add:
>
>    @nogc:
>
> at the top, too. It isn't necessary to tediously annotate every 
> function.

@nogc:

struct Foo {
         int* a() { return new int; }
}



More information about the Digitalmars-d mailing list