UDA syntax

Joseph Cassman jc7919 at outlook.com
Thu Jan 17 12:15:15 PST 2013


On Thursday, 17 January 2013 at 07:27:35 UTC, Jacob Carlborg 
wrote:
> On 2013-01-17 02:59, Joseph Cassman wrote:
>> I was wondering what the syntax is for user defined attributes 
>> (i.e. bug
>> 9222) implemented in release 2.061. I was still unclear after 
>> reading
>> the thread 
>> forum.dlang.org/thread/k7afq6$2832$1 at digitalmars.com.
>
> Here's the documentation:
>
> http://dlang.org/attribute.html#uda
>
> Ali did a pretty good explanation as well.
>
> You can see how I used it for my serialization library:
>
> https://github.com/jacob-carlborg/mambo/blob/master/mambo/core/Attribute.d
>
> https://github.com/jacob-carlborg/mambo/blob/master/mambo/serialization/Serializer.d#L1481

Couldn't find the documentation location. Thanks for the links.
Joseph


More information about the Digitalmars-d-learn mailing list