array initializers

Trass3r via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 11 11:36:13 PDT 2014


> By the way, LDC already does this today (even without 
> optimizations turned on).

My ldc doesn't.
I had to cast(immutable) to actually get it to put the data as a 
constant.
And even then it's still copied to the GC heap.


More information about the Digitalmars-d mailing list