17.6  Overloading Increment and Decrement Operators (cont.)

Fraction& Fraction::operator++()
{
   top += bottom;
   return *this;
}
Fraction Fraction::operator++(int unused)
{
   Fraction clone(top, bottom);
   top += bottom;
   return clone;
}

prev |top |next