nested enum

Illuminati via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 24 16:04:25 PDT 2016


How can I create nested enum like structures?

instead of Enum.X_Y I would like to access like Enum.X.Y

Yet I want it to behave exactly as an enum.  I just want to not 
use _ as .'s are better as they express more clearly what I want.




More information about the Digitalmars-d-learn mailing list