Operators
+ (const rational & left, const rational & right)
{ // return sum of two rational numbers rational result ( left.numerator() * right.denominator() + right.numerator() * left.denominator(), left.denominator() * right.denominator()); return result;
The address operator in the argument list indicates that the left and right values will be passed by reference.