Re: [patch] safe iterator simplification

2013-11-08 Thread Jonathan Wakely
On 7 November 2013 21:00, François Dumont wrote: > > * include/debug/safe_iterator.h (_BeforeBeginHelper<>::_S_Is): > Take only a const safe iterator reference. > (_BeforeBeingHelper<>::_S_Is_beginnest): Likewise. There's a typo here, "Being" not "Begin" > Ok to commit ? Yes, with th

[patch] safe iterator simplification

2013-11-07 Thread François Dumont
Hi Here is a patch to simplify a little safe iterator implementation. Returning a sequence pointer from a safe iterator and a const sequence pointer from a const safe iterator allows to avoid inconsistent usages of iterator like comparing iterator with a const_iterator. This way __get_dis