lt method

bool lt(
  1. Iterator<U> other
)

Determines if the elements of this Iterator are lexicographically less than those of another.

Implementation

bool lt(Iterator<U> other) {
  return cmp(other) < 0;
}