Casting from an enum type to another enum type
Meta via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jun 24 11:19:25 PDT 2015
Note that this is a very simple example. You need to check in the
function that a valid StyleColor will actually be produced.
Otherwise, it'll happily produce a StyleColor that's invalid.
More information about the Digitalmars-d-learn
mailing list