operator < method

bool operator <(
  1. Rank other
)

Implementation

bool operator <(Rank other) {
  return index < other.index;
}