On 2012-04-06 20:52, Steven Schveighoffer wrote:

Also, if I see:

@square(5) int foo();

How do I know that I have to use __traits(getAttribute, foo, Area)?

Isn't "square" the name of the attribute? In that case you would use:

__traits(getAttribute, foo, square)

--
/Jacob Carlborg

Reply via email to