manifest enum

Sean Kelly sean at f4.ca
Thu Jan 3 07:47:22 PST 2008


Walter Bright wrote:
> Sean Kelly wrote:
>> 'enum' is now basically a storage class in addition to an enumeration 
>> specifier, so you can even do this I believe:
>>
>> enum:
>>     a = 1;
>>     b = 2;
> 
> No, it's not a storage class and that won't work.

Oops, my mistake.


Sean



More information about the Digitalmars-d mailing list