Ziad:

> Is there a way to let the compiler automatically determine the size
> based on the argument list?

I don't know a clean way to do it. See the "related enhancement" here:
http://d.puremagic.com/issues/show_bug.cgi?id=3849
With other people I have proposed the syntax:
int[$] a = [1, 2, 3];

But so far Walter has not shown interest.

Bye,
bearophile

Reply via email to