CTFE Status

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 23 02:53:38 PST 2017


On Monday, 23 January 2017 at 09:06:49 UTC, Nordlöw wrote:
>
> Good job.

There are more good news

uint fn()
{
   uint x = 7;
   modx(&x);
   return x;
}

void modx(uint* x)
{
     *x = 12;
}

static assert(fn() == 12);

This code does now compile with newCTFE :)


More information about the Digitalmars-d mailing list