Boost logo

Boost :

From: John E. Potter (jpotter_at_[hidden])
Date: 2001-08-09 17:01:01

On Thu, 9 Aug 2001, Douglas Gregor wrote:

> Personally, I would dereference to be stable (so that find()/find_if() need
> to be changed to use forward iterators) but I would like == to be defined
> only for:
> i == i: always true
> i == end: true if at end, false otherwise
> i == j: always false
> This makes it reasonable to implement an input iterator that gets its data
> from a volatile source: it can easily be cached on first access, but you
> don't have to deal with sharing the cache among iterators.

Sounds like a new concept volatile_iterator to me.


Boost list run by bdawes at, gregod at, cpdaniel at, john at