On 2012-10-19 11:42, Marco Leise wrote:

When you extend the length of an array, it is filled with
the static .init value for the type, which is null here. I
think you'll have to create the objects manually.

foreach (ref foo; a) foo = new Foo;

Is this possible:

a[] = new Foo;

?

--
/Jacob Carlborg

Reply via email to