Boost logo

Boost :

From: John E. Potter (jpotter_at_[hidden])
Date: 2001-07-06 09:05:31


On Sat, 30 Jun 2001, David Abrahams wrote:

> I understand the problem now. I think this warrants a new LWG issue:
>
> "is the result of dereferencing an input iterator stable?"

Here is my usual response to this question.

Std::distance is defined for input iterator. It does not dereference.
Conclusion: dereference does not increment.

John
John


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