About @ and UDA

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 17 12:35:11 PDT 2015


On 2015-04-17 16:34, Sönke Ludwig wrote:

> +1 for body
>
> I still haven't got the reason though, why "safe" and friends cannot
> simply be UDAs defined in object.d that the compiler recognizes.

UDA's were available when these attributes/keywords were created. 
Reasons why they're still not UDA's are probably a mix of avoiding code 
breakage and someone that needs to make the change.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list