Hmm - about manifest/enum

Walter Bright newshound1 at digitalmars.com
Tue Jan 1 21:10:47 PST 2008


Sean Kelly wrote:
> I don't suppose the use of 'enum' in this context has had any impact on 
> named enumerations?  ie. We still cannot have a named enum which 
> contains strings, correct?

You can do named enums with strings now.

> Also, are traditional unnamed enums still 
> legal?

Yes.

> enum
> {
>     a, b, c
> }
> 
> enum : long
> {
>     d, e, f
> }




More information about the Digitalmars-d mailing list