From: David Abrahams (dave_at_[hidden])
Date: 2005-06-15 10:58:05
"Thorsten Ottosen" <nesotto_at_[hidden]> writes:
> "David Abrahams" <dave_at_[hidden]> wrote in message
> | If someone would clearly and succinctly spell out the question, I'd be
> | happy to.
> should one be able to add, subtract, and compare mutable random access
> iterators with
> random access const_iterators provided they point to the same container?
There is no requirement that it be possible, and many early STL
implementations failed to make it possible. It's generally regarded
as a poor QOI that doesn't allow it. That capability is one of the
things that iterator_facade and iterator_adaptor make easy.
-- Dave Abrahams Boost Consulting 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