array comparison

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Feb 15 21:53:31 PST 2010


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.

Andrei



More information about the Digitalmars-d mailing list