So, User-Defined Attributes

Timon Gehr timon.gehr at gmx.ch
Sun Jan 6 14:57:09 PST 2013


On 01/06/2013 11:27 PM, deadalnix wrote:
> 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 ?

No, it is equivalent.


More information about the Digitalmars-d mailing list