Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-04-26 03:11:06


David Abrahams wrote:

> Vladimir Prus <ghost_at_[hidden]> writes:
>
>>>> where rv is the return value
>>> ^^^^^^^^^^^^
>>> of what?
>>
>> Of the "*rv" expression.
>
> I'm confused. You're saying *rv is equivalent to rv ??

Ok, let me try again:

   ifšiteratoršisšalsošašmodelšofšthešreadablešiteratoršconcept,šthen
šššexpressionš*rv should be equal to *v, where v is the value of iterator
   before call to operator++(int) and rv is the value returned from the
   call.

The good question is what 'equal' means? Operator== might not be defined.
The standard uses 'equivalent' but I don't know what that means.

- Volodya
 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk