Compile-time evaluation lost in alias this

Tommi tommitissari at hotmail.com
Wed May 30 05:24:53 PDT 2012


Like I said it doesn't compile because it can't do CTFE. But 
remove static in front of the second assert and it compiles (and 
works also during runtime):

assert(ValueUser.getValue() == 42);



More information about the Digitalmars-d mailing list