operator > method

bool operator >(
  1. Enum other
)

Implementation

bool operator >(Enum other) {
  return index > other.index;
}