int[3] a = [1, 2, 3]; // Why heap?

Mehrdad wfunction at hotmail.com
Mon Aug 1 05:50:41 PDT 2011


I'm just wondering, is there a plan to fix the

|int[3] a = [1, 2, 3];
|

issue, to not make it allocate on the heap?

It kind of sucks to see people bash D for something so trivial like this. :\


More information about the Digitalmars-d mailing list