Custom attributes (again)
Alex Rønne Petersen
xtzgzorex at gmail.com
Fri Apr 6 00:49:13 PDT 2012
On 06-04-2012 09:47, Walter Bright wrote:
> On 4/6/2012 12:42 AM, Alex Rønne Petersen wrote:
>> Also, by storage class do you mean it will work only on fields?
>
> No. Storage classes work on fields, functions, and variables.
>
What about type declarations? I think those ought to be supported too.
E.g. it makes sense to mark an entire type as @attr(serializable) (or
the inverse).
--
- Alex
More information about the Digitalmars-d
mailing list