Initializing "two-dimensional" compile-time enum

Uranuz neuranuz at gmail.com
Sun Nov 24 11:19:56 PST 2013


This example above will not compile because name is not a compile 
time expression. But I can't undersatnd how to make some kind of 
compile-time variable. If we have advanced metaprogramming 
features I think possibility of defining compile-time variables 
is needed. Am I right or not?

I think defining compile-time array as Tuple!("first", "second", 
"third") looking sophisticated.



More information about the Digitalmars-d mailing list