example for compile time function execution

Walter Bright newshound1 at digitalmars.com
Fri Apr 27 13:21:44 PDT 2007


I keep racking my brain trying to come up with a short, pithy example of 
CTFE that uses AAs or struct literals. It should be just a few lines, 
and make it clear why CTFE is a great thing. I want to use it in 
presentations.

Any ideas?



More information about the Digitalmars-d mailing list