getting Key:Value pairs of an enum at compile time ?

Uplink_Coder someemail at someprovider.some
Thu Jan 23 09:15:40 PST 2014


> void main() {
>     foreach(m; EnumMembers!Options) {
>         writeln(m, " ", cast(string)m);
>     }
> }

Still not there at compile-time
... because I need to index my members


More information about the Digitalmars-d-learn mailing list