Is it possible to force CTFE?

bearophile bearophileHUGS at lycos.com
Thu Sep 27 06:01:09 PDT 2012


Tommi:

> 2) Is it possible to specialize a function based on whether or 
> not the parameter that was passed in is a compile time constant?

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.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list