Check for ctfe

Timon Gehr timon.gehr at gmx.ch
Fri Aug 24 17:13:44 PDT 2012


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)


More information about the Digitalmars-d-learn mailing list