SequenceIter.compare

Returns a negative number if a comes before b, 0 if they are equal, and a positive number if a comes after b.

The a and b iterators must point into the same sequence.

class SequenceIter
int
compare

Parameters

b SequenceIter

Return Value

Type: int

a negative number if a comes before b, 0 if they are equal, and a positive number if a comes after b

Meta

Since

2.14