[Issue 8469] isSorted fails with predicate "a.length < b.length ? true : a < b"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 31 02:02:09 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8469
--- Comment #9 from bearophile_hugs at eml.cc 2012-07-31 02:01:53 PDT ---
(In reply to comment #8)
> It's very simple, if isSorted finds two adjacent elements a, b that satisfy
> pred(b, a) it can also check whether pred(a, b) and assert if that's also true.
I see, with run-time tests.
--
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