acchow
2011-06-30 00:57:56 UTC
In the class notes, (Page 126 of the Corrected Course Notes), the
implementation of the Complex class has an operator+ overload
implemented. But it looks like this:
return Complex( a.impl.re + b.impl.re, a.impl.im + b.impl.im );
It is returning something that is transient? How is this working?
implementation of the Complex class has an operator+ overload
implemented. But it looks like this:
return Complex( a.impl.re + b.impl.re, a.impl.im + b.impl.im );
It is returning something that is transient? How is this working?