manifest enum

John Reimer terminal.node at gmail.com
Tue Jan 1 16:00:28 PST 2008


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;
> 
> 
> Sean


I'll have to test it out and see (that must have been based on earlier 
discussions?).

But doing that would seem strange... and maybe a little ambiguous?  What 
marks the end of the "enum:" specifier sequence for manifest constants then?



More information about the Digitalmars-d mailing list