how to understand different attribute styles?

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 17 07:15:17 PDT 2016


On Monday, 17 October 2016 at 14:12:33 UTC, timepp wrote:
> there is "@disable", using @ as prefix;
> there is "__gshared", using __ as prefix;
> there is also "align", not using prefix.
>
> I failed to summarize a rule here. Can anyone tell the 
> underlined philosophy?

It's an inconsistency of the language. see 
http://forum.dlang.org/post/hfmulninvghjntqkpguk@forum.dlang.org


More information about the Digitalmars-d-learn mailing list