Why does this snippet print the enum identifiers instead of their values?

John Colvin john.loughran.colvin at gmail.com
Tue May 28 05:18:11 PDT 2013


On Tuesday, 28 May 2013 at 12:16:51 UTC, John Colvin wrote:
> There really ought to be a property .value of enums.

or alternatively .name of course. Either way there should be a 
way to choose whether you want the name or the value.


More information about the Digitalmars-d-learn mailing list