User Defined Attributes

Jonas Drewsen nospam4321 at hotmail.com
Tue Nov 6 01:06:45 PST 2012


Wow! This is an early christmas gift.

Just to be sure. Is the following also possible:

["Serializable"]
class Foo
{
    int bar;
}

This will attach the UDA to the ClassDeclaration.

The examples you've shown only attach UDAs to variable 
declarations.

/Jonas



More information about the Digitalmars-d-announce mailing list