On Friday, 20 June 2014 at 19:22:04 UTC, Brian Schott wrote:
http://wiki.dlang.org/DIP64

Attributes in D have two problems:
1. There are too many of them and declarations are getting too verbose
2. New attributes use @ and the old ones do not.

I've created a DIP to address these issues.

Does this work for all attributes? For example:

@OneTo5 = @(1) @(2) @(3) @(4) @(5);


And will this be possible?

struct Test
{
    string str;
}

@Tattr(str) = @Test(str);
@Tattr = @Test("");

Reply via email to