Comment Comment by WalterBright D has had compile time function execution since 2007 or so.https://dlang.org/spec/function.html#interpretationIt doesn't need a keyword to trigger it. Any expression that is a const-expression in the grammar triggers it. parent WalterBright 1 year ago
https://dlang.org/spec/function.html#interpretation
It doesn't need a keyword to trigger it. Any expression that is a const-expression in the grammar triggers it.