[Issue 7389] Disallow or implement correct SortedRange equality
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 28 06:19:27 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7389
--- Comment #1 from bearophile_hugs at eml.cc 2012-01-28 06:19:26 PST ---
Another workaround:
import std.algorithm: sort, equal;
void main() {
auto a1 = [1, 2];
auto a2 = [2, 1];
assert(equal(a1.sort(), a2.sort())); // OK
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list