|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-04-26 09:03:42
Vladimir Prus <ghost_at_[hidden]> writes:
> 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.
We don't need new language to express what should be said here; we
can just take it from the C++98 input iterator requirements.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk