Re: [Bug libstdc++/89608] Undetected iterator invalidations on unordered containers in debug mode

2019-03-07 Thread François Dumont
Hi     I consider the implementation to decide to invalidate iterators or not. As nodes are not deallocated and only slghtly impacted during the rehash process I consider that they shouldn't be invalidated appart from the local iterators. I should have just consider the Standard.     Here is

Re: [Bug libstdc++/89608] Undetected iterator invalidations on unordered containers in debug mode

2019-03-07 Thread Jonathan Wakely
On 07/03/19 22:22 +0100, François Dumont wrote: Hi     I consider the implementation to decide to invalidate iterators or not. As nodes are not deallocated and only slghtly impacted during the rehash process I consider that they shouldn't be invalidated appart from the local iterators. I shou

Re: [Bug libstdc++/89608] Undetected iterator invalidations on unordered containers in debug mode

2019-03-07 Thread Jonathan Wakely
On 07/03/19 23:57 +, Jonathan Wakely wrote: On 07/03/19 22:22 +0100, François Dumont wrote: Hi     I consider the implementation to decide to invalidate iterators or not. As nodes are not deallocated and only slghtly impacted during the rehash process I consider that they shouldn't be in