DIP60: @nogc attribute

Francesco Cattoglio via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 17 11:51:23 PDT 2014


On Tuesday, 15 April 2014 at 19:57:59 UTC, monarch_dodra wrote:
> I have an issue related to adding an extra attribute: 
> Attributes of non-template functions. Currently, you have to 
> mark most functions as already pure, nothrow and @safe. If we 
> are adding another attribute. Code will start looking alike 
> this:
>
> int someTrivialFunction(int i) @safe pure nothrow @nogc;
>
don't forget final ;)


More information about the Digitalmars-d mailing list