how to detect ctfe

Vlad Levenfeld via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 31 22:50:14 PDT 2014


Is there any way that I can detect whether or not a function is 
being evaluated at compile time? Specifically I want to switch 
between to use/not to use memoize!func without having to figure 
out when its CTFE-able and calling it with different syntax.


More information about the Digitalmars-d-learn mailing list