static array literal syntax request: auto x=[1,2,3]S;

Mehrdad wfunction at hotmail.com
Sun Jun 10 14:23:57 PDT 2012


I honestly don't see the POINT of having a "dynamic array 
literal".

What's the point of making the literals dynamic?

They should all be static, and only converted to dynamic if 
necessary from the context.

But I really don't see the benefit of allocating them on the heap 
just because we can... perhaps someone can enlighten me?


More information about the Digitalmars-d mailing list