initializedArray

Philippe Sigaud philippe.sigaud at gmail.com
Tue Dec 20 12:53:44 PST 2011


On Tue, Dec 20, 2011 at 21:27, Andrej Mitrovic
<andrej.mitrovich at gmail.com> wrote:
> On 12/20/11, Philippe Sigaud <philippe.sigaud at gmail.com> wrote:
>> Why?
>
> I didn't think of using tuples first, initially I've tried using
> size_t[]... but that was a bad idea.
>
> But I still think it should be the first argument, because it's more
> consistent with regards to array dimensions. You never have to "find"
> the initializer because you'll always know it's the first argument. At
> least to me it seems to be a good idea to put it first, but ymmv.

I do not have a strong opinion about this. I just interpreted your
initial comment as "I couldn't find a way to put the initializer last,
so I put it in the first position".


More information about the Digitalmars-d mailing list