you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 years ago

You don't necessarily have to write a non-transitive cmp() function willingly, it may happen that you write one without realizing due to some edge cases where it's not transitive.

  • source
  • parent