Esempio n. 1
0
bool RationalNumber::operator >(const RationalNumber &another) const {
    return another.lessThan(*this);
}
Esempio n. 2
0
bool RationalNumber::operator >=(const RationalNumber &another) const {
    return another.lessThan(*this) || this->equal(another);
}