le method

bool le(
  1. Iterator<U> other
)

Determines if the elements of this Iterator are lexicographically less or equal to those of another.

Implementation

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