Fix safe iterator inconsistent assertion

2018-06-20 Thread François Dumont
Working on iterator == operator I noticed that a comparison in _Safe_iterator was inconsistent.     * include/debug/debug.h     (_Safe_iterator<>(const _Safe_iterator<_MutableIterator,>& __x)):     Compare __x base iterator with a default initialized iterator of the     same type. Tested under

Re: Fix safe iterator inconsistent assertion

2018-06-21 Thread Jonathan Wakely
On 21/06/18 07:36 +0200, François Dumont wrote: Working on iterator == operator I noticed that a comparison in _Safe_iterator was inconsistent.     * include/debug/debug.h Wrong filename in the ChangeLog here.     (_Safe_iterator<>(const _Safe_iterator<_MutableIterator,>& __x)):     Compare