UDA syntax

Jacob Carlborg doob at me.com
Thu Jan 17 08:01:00 PST 2013


On 2013-01-17 08:20, Era Scarecrow wrote:

>   Oh yes, do UDA's only work on types? or do they work on
> functions/methods/delegates too? If you have it on a function how could
> that be useful?

You can basically attach an UDA to any declaration. I think the 
exception is parameters.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list