is my code to get CTFE instantiated object valid D ?

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 28 01:36:03 PDT 2016


On Saturday, 28 May 2016 at 08:34:17 UTC, Mike Parker wrote:

> const(F) cf = f;
> immutable(f) if = f;

And, of course, those should be const(Foo) and immutable(Foo).


More information about the Digitalmars-d-learn mailing list