Proposal: user defined attributes

Jacob Carlborg doob at me.com
Wed Mar 21 13:58:27 PDT 2012


On 2012-03-21 18:22, F i L wrote:
> Jacob Carlborg wrote:
>> Only the name of the variables are necessary in my serialization library.
>
> Wouldn't mixing in an enum be more useful? You could use it at compile
> time that way.

I'm using a static const variable because it's compatible with D1. It 
still works at compile time.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list