
4 May
2010
4 May
'10
6:31 p.m.
On 5/4/2010 11:23 AM, Stewart, Robert wrote:
Chad Nelson wrote: [...]
Why is integer::operator +() defined to return *this? That operator should return a new instance
Why?
Um, because that operator is used for i + j and returns the sum, right? Did I miss something?
I suspect you (Robert) might be looking at the unary + operator... - Jeff