DIP60: @nogc attribute

via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 15 16:45:20 PDT 2014


On Tuesday, 15 April 2014 at 21:41:37 UTC, Brad Anderson wrote:
> Yes, please. Too few of the attributes have inverse attributes.
>
> Being able to stick your defaults up at the top of your module 
> and then overriding them only when needed would be very nice 
> and make the code a lot more tidy.

Then you need a compiler option that will prevent @gc, otherwise 
you risk libraries pulling in @gc code as quick fixes without 
library users that want @nogc noticing the deficiency.

Ola.


More information about the Digitalmars-d mailing list