Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-20 06:09:16

"John Maddock" <john_at_[hidden]> writes:

> You cannot compare a singular iterator with
> another iterator (not even another singular one), *unless* the particular
> iterator type has some implementation-defined behaviour specified for that
> particular type.

Nit: there are no exceptions for singular iterators. In the case
you're describing, the iterator is simply not singular. There's no
rule that says a default-constructed iterator must be singular.


Dave Abrahams
Boost Consulting

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