Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-06-15 14:22:08


"Howard Hinnant" <hinnant_at_[hidden]> wrote in message
news:2c82a06f47cb364610ee3f054122873e_at_twcny.rr.com...
| On Jun 15, 2005, at 11:58 AM, David Abrahams wrote:
|
| > "Thorsten Ottosen" <nesotto_at_[hidden]> writes:
| >
| >> "David Abrahams" <dave_at_[hidden]> wrote in message
| >> news:uk6kws88y.fsf_at_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.
|
| Umm... and you helped me with the wording to require this for C++0X (it
| is already in the WP):
|
| http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#179

Thanks!

I'm only missing to make operator- to be free-standing. I will update that as
well.

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk