
26 Apr
2004
26 Apr
'04
2:03 p.m.
Vladimir Prus <ghost@cs.msu.su> writes:
David Abrahams wrote:
Vladimir Prus <ghost@cs.msu.su> 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