|
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.
Cheers,
-- 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