Speed up compilation of CTFE-heavy programs with this One Weird Trick!
    Vladimir Panteleev via Digitalmars-d 
    digitalmars-d at puremagic.com
       
    Thu Nov  3 09:34:00 PDT 2016
    
    
  
On Thursday, 3 November 2016 at 12:19:09 UTC, Sönke Ludwig wrote:
> Does "if (!_ctfe) assert(false);" work, too? That would also 
> protect against accidential mistakes.
Doesn't seem like it. { assert(false); return; } works (in 
reducing compile time) but generates "statement is not reachable" 
warnings for the return statement.
    
    
More information about the Digitalmars-d
mailing list