:end to terminate attribute:

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 28 03:51:14 PDT 2016


On 9/28/16 11:48 AM, ZombineDev wrote:
>
> AFAIR, last year or so, Andrei approved the proposal for attr(bool
> expr), eg:
>
> @nogc:
>
> // no gc code here
>
> @nogc(false):

Yah, we've got to have something. There's been quibbles over syntax but 
nothing better came up that is as comprehensive. @nogc(true) and 
generally @nogc(ctBoolean) should work as well. -- Andrei


More information about the Digitalmars-d mailing list