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; } }
Adam D. Ruppe via Digitalmars-d Tue, 07 Jun 2016 11:36:06 -0700
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; } }