Function that calculates in compile time when it can

Eyyub eyyub.pangearaion at gmail.com
Mon Aug 6 07:25:28 PDT 2012


On Monday, 6 August 2012 at 13:46:14 UTC, Tobias Pankrath wrote:
> You can check for compile time with
>
> static if(__ctfe)
No, you can't.

__ctfe is a "CTFE-ed"(?) value.

But you can do something like that : 
http://dpaste.dzfl.pl/e3f26239

Minas : I don't know if your PC is outdated, but it's weird. :/


More information about the Digitalmars-d-learn mailing list