|
Boost : |
Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Jeffrey Lee Hellrung, Jr. (jhellrung_at_[hidden])
Date: 2010-05-04 14:31:26
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk