"toString(enum.value)" How?
Ingo Oeser
ioe-news at rameria.de
Tue Jul 10 11:15:10 PDT 2007
Daniel919 wrote:
> This would be nice:
> Funny.tupleof should return a Tuple of values, like: "0 1 2 3"
> Funny.names should return the names like: UNKNOWN, MAKES_ME_SMILE, ...
Doing it with tuples is only slightly useful, since there
can be gaps in enums.
That's why I would like to have the names of the enums members, only.
Best Regards
Ingo Oeser
More information about the Digitalmars-d-learn
mailing list