Template parameter-dependent attributes

ZombineDev via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 16 23:29:10 PST 2015


On Wednesday, 16 December 2015 at 18:01:11 UTC, Timon Gehr wrote:
> On 12/16/2015 06:46 PM, Daniel N wrote:
>> On Wednesday, 16 December 2015 at 17:14:50 UTC, Andrei 
>> Alexandrescu wrote:
>>> So... attributes are currently not allowed to depend on 
>>> template
>>> parameters, which is a serious damper on enthusiasm.
>>
>> Indeed, please see the discussion in:
>> https://issues.dlang.org/show_bug.cgi?id=10193
>>
>> /Daniel
>
> This is a slightly different issue. (The UDA is before the 
> declaration there.)

I thought that it doesn't matter on which side you put the UDA. 
Just like pure nothow, etc. Why should there be any difference?


More information about the Digitalmars-d mailing list