operator > method

bool operator >(
  1. Amount other
)

Implementation

bool operator >(Amount other) {
  return value > other.value;
}