Why enum of structs are not initialised?

mimocrocodil 4denizzz at gmail.com
Thu Aug 11 14:49:18 PDT 2011


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


More information about the Digitalmars-d-learn mailing list