Check for ctfe
cal
callumenator at gmail.com
Fri Aug 24 17:20:35 PDT 2012
On Saturday, 25 August 2012 at 00:13:44 UTC, Timon Gehr wrote:
> On 08/25/2012 02:06 AM, cal wrote:
>> I saw something on the forum not too long ago about statically
>> checking
>> to see if the current function is being executed at compile
>> time, but
>> can't seem to find it now. Can it be done? (Like static if
>> (__ctfe__) or
>> something)
>
> if(__ctfe)
Oh i was using it with static if which didn't work, thanks!
More information about the Digitalmars-d-learn
mailing list