Is it possible to force CTFE?
bearophile
bearophileHUGS at lycos.com
Thu Sep 27 12:39:36 PDT 2012
Jacob Carlborg:
>> I am interested in this since some years. I think it's useful,
>> but I don't know if it can be implemented. I don't remember
>> people discussing about this much.
>
> There's the if (__ctfe) hack. Also using only template
> parameters will force the function to be CTFE.
This is quite far from what I was discussing about here...
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list