operator < method

bool operator <(
  1. Language other
)

Implementation

bool operator <(Language other) {
  return prob < other.prob;
}