So, User-Defined Attributes

Walter Bright newshound2 at digitalmars.com
Sat Jan 5 14:14:39 PST 2013


On 1/5/2013 2:06 PM, Philippe Sigaud wrote:
> But why is @(MyType) accepted, whereas @(int) is not?

Because it's looking for an expression inside the parents, and int is not an 
expression.



More information about the Digitalmars-d mailing list