Why do some attributes start with '@' while others done't?

Brad Anderson via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 21 15:08:07 PST 2016


On Thursday, 21 January 2016 at 23:05:51 UTC, Dibyendu Majumdar 
wrote:
> I am puzzled as to why there is @nogc on the one hand and 
> simply nothrow on the other? Why are some attributes prefixed 
> with '@' while others aren't?
>
> Regards

For historical reasons, basically. There have been some calls to 
make it uniform but nothing has really happened.


More information about the Digitalmars-d mailing list