Battle-plan for CTFE
    Stefan Koch via Digitalmars-d-announce 
    digitalmars-d-announce at puremagic.com
       
    Fri May 27 16:31:24 PDT 2016
    
    
  
On Monday, 9 May 2016 at 16:57:39 UTC, Stefan Koch wrote:
> Hi Guys,
>
> I have been looking into the DMD now to see what I can do about 
> CTFE.
> I will post more details as soon as I dive deeper into the code.
Update :
int bug6498(int x)
{
     int n = 0;
     while (n < x)
         ++n;
     return n;
}
static assert(bug6498(10_000_000)==10_000_000);
This compiles now for me. Although it still takes 10 seconds ;)
    
    
More information about the Digitalmars-d-announce
mailing list