List all enum in a class

Jonathan M Davis jmdavisProg at gmx.com
Thu Jun 13 10:09:22 PDT 2013


On Thursday, June 13, 2013 14:46:48 bearophile wrote:
> Adam D. Ruppe:
> > However as far as I know right now, there's no way to get "b"
> > as an enum here because the typeof will always just return
> > string.
> 
> Is it worth asking a D enhancement?

It's a manifest constant, so it's not really an enum. As such, I'm inclined to 
say no.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list