How to initialize static arrays with variable data

Denis Koroskin 2korden at gmail.com
Fri Feb 19 12:41:01 PST 2010


On Fri, 19 Feb 2010 23:12:02 +0300, KennyTM~ <kennytm at gmail.com> wrote:

> Why can't [a,b,c] be made into toArray(a,b,c).idup?

Because the goal is to prevent unnecessary heap allocations.



More information about the Digitalmars-d mailing list