Enum with base type string and switch

Chris Nicholson-Sauls ibisbasenji at gmail.com
Tue Nov 19 13:21:14 PST 2013


This was a bug and has since been fixed, so the solution is 
simply to update your compiler.  If there is some reason you 
can't (company required version, etc) then your cast() is sadly 
probably the only way.


More information about the Digitalmars-d-learn mailing list