So, User-Defined Attributes

deadalnix deadalnix at gmail.com
Sun Jan 6 14:27:57 PST 2013


On Sunday, 6 January 2013 at 14:58:07 UTC, Andrei Alexandrescu 
wrote:
> On 1/6/13 9:25 AM, Philippe Sigaud wrote:
>> That's too bad, because declaring UDA is simple, and receiving 
>> them with
>> arguments is easy also. There is a fundamental imbalance in 
>> having
>> having propagating attributes through functions so difficult.
>
> <brokenrecord>For designing attributes that navigate with types 
> templates would be the solution of choice.</brokenrecord>
>
> Andrei

Isn't it better to achieve this with a template ?


More information about the Digitalmars-d mailing list