
15 Jun
2005
15 Jun
'05
3:58 p.m.
"Thorsten Ottosen" <nesotto@cs.auc.dk> writes:
"David Abrahams" <dave@boost-consulting.com> wrote in message news:uk6kws88y.fsf@boost-consulting.com...
| 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