enum

Meta jared771 at gmail.com
Thu Apr 10 07:37:36 PDT 2014


On Thursday, 10 April 2014 at 04:47:31 UTC, Walter Bright wrote:
> It makes perfect sense if you think of an enum as an integral 
> type, some values of which have names, as in the "Color" 
> example I posted earlier.

I do not wish to think of enums in this way. Your use-case is 
better solved with Typedef and a struct.


More information about the Digitalmars-d mailing list