[Issue 8469] isSorted fails with predicate "a.length < b.length ? true : a < b"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 30 10:37:13 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8469



--- Comment #6 from bearophile_hugs at eml.cc 2012-07-30 10:37:10 PDT ---
(In reply to comment #5)

> I definitely think that it makes the most sense to make isSorted assert on bad
> predicates and have it clearly state that predicate was bad because it's
> antisymmetric.

How do you do this?

-- 
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