Let's look about the next class:
class Complex {
double re, im;
public:
Complex(double r = 0 double i = 0);
Complex& operator-=(const Complex& c);
Complex operator-() const;
};
How can I decide how to return the result from the function , for example, why in operator-=
the value returned by a reference , but, in operator-
(unary operator) it's returned by a value?