cpp/iterator/counted iterator/operator cmp

Compares the underlying lengths (i.e. distances to the end).

@1@ Checks if the underlying lengths are equal.

@2@ Compares the underlying lengths with operator.

The behavior is undefined if and  do not point to elements of the same sequence. That is, there must exist some such that  and  refer to the same element.

Return value
@1@ @2@