www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: Why enum of structs are not initialised?

bearophile:

 causes syntax error if I am uncommit second string in enum


 I think D enums are mostly meant for enumerations, of things like ints,
ushorts, chars, etc. (But enhancement requests are possible).

I want to use this enum in 'final switch' statement.
 Also is that "package:" actually working?

Yes
Aug 11 2011