Non compile time evaluation for initializers

Lutger lutger.blijdestijn at gmail.com
Fri Oct 26 01:52:25 PDT 2007


Lutger wrote:
> Janice Caron wrote:
...
> Suppose this is implemented, then how can you achieve constant folding 
> with CTFE in initializers? Since it is not a compile time context 
> anymore, all functions that substitue y will be evaluated at runtime.

Nevermind, I responded too soon and overlooked the proviso that it's 
only rewritten when it doesn't compile, sorry.



More information about the Digitalmars-d mailing list