array comparison

BCS none at
Tue Feb 16 10:05:45 PST 2010

Hello Andrei,

> I think comparing arrays should work if comparison of individual
> elements should work.
> int[] a;
> long[] b;
> assert(a == b);
> A minimalistic-motivated counter-argument could be put forth, but I
> think we want smart minimalistic, not dumb minimalistic.

I'm for it but with a different syntax because it's an element by element 

assert(a[] == b[]);

(that is unless I'm misremembering how the other array ops work)

> Andrei

More information about the Digitalmars-d mailing list