Check for ctfe

Philippe Sigaud philippe.sigaud at gmail.com
Sat Aug 25 05:02:01 PDT 2012


On Sat, Aug 25, 2012 at 12:53 PM, Minas Mina
<minas_mina1990 at hotmail.co.uk> wrote:
> Why is it "if( __ctfe )" and not
> static if.. ?

I guess because __ctfe *must* be a runtime value: its value changes at
runtime. And, as 'static if' cannot act on a runtime value...


More information about the Digitalmars-d-learn mailing list