CTFE Status

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 22 04:47:12 PST 2016


Hey Guys,

Pointers support is coming!

The following code compiles now:

uint* fn(uint v)
{
     return new uint(v + 6);
}


static assert(*fn(5) == 11);




More information about the Digitalmars-d mailing list