Conversion and Assignment on EnumUnion and EnumChain

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 4 05:48:20 PDT 2014


> I would now like to define rules for assignments and implicit 
> conversions with the following checks

I believe I found a good solution through struct wrappers. See 
update at:

https://github.com/nordlow/justd/blob/master/enums.d


More information about the Digitalmars-d-learn mailing list