So, User-Defined Attributes

Domain dont_email at empty.com
Sat Jan 5 22:57:54 PST 2013


On Saturday, 5 January 2013 at 22:57:03 UTC, Jacob Carlborg wrote:
> On 2013-01-05 23:44, Philippe Sigaud wrote:
>
>> Well, first that would be nice to have the grammar online :)
>
> Yeah, still waiting for that pull request to be merged.

UDA can not apply to function argument?

enum attr;
void func(@attr int a) // <-- error
{
     @attr int b;       // <-- ok
}


More information about the Digitalmars-d mailing list