
23 Sep
2004
23 Sep
'04
12:15 p.m.
Have a look at your compare operator! It orders two pairs of values (A,B)(C,D) like this: (A<B) || (!(A<B) && (C<D)) this expession equals: (A<B) || (C<D) lets consider the test case: (1,2) (2,1) Your operator will return return true in whatever order this pair is compared... I think an operator like (A<B) || ((A==B) && (C<D)) will help
7549
Age (days ago)
7549
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lars Kunert