|
|
|
|
|
by WalterBright
768 days ago
|
|
In D, any function can be used to evaluate at compile time. If it is used for a constant-expression and cannot be evaluated at compile time, it is a compilation error. Also, the entire function needn't be evaluatable at compile time - only the path taken through it. Simply no need for tagging them one way or another. |
|