Why if(__ctfe)?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 16 06:17:27 PDT 2014


On Tuesday, 16 September 2014 at 13:11:50 UTC, Ilya Yaroshenko 
wrote:
> Why not "static if(__ctfe)" ?

ctfe is a runtime condition. The function has the same code when 
run at compile time, it is just being run in a different 
environment.


More information about the Digitalmars-d-learn mailing list