Rope iterator patch reminder

2018-06-18 Thread Jeremy Sawicki
Last month I sent a patch for a bug in the rope template.  I want to make sure it is not forgotten: https://gcc.gnu.org/ml/libstdc++/2018-05/msg00115.html https://gcc.gnu.org/ml/gcc-patches/2018-05/msg01006.html When an iterator is copied or assigned, the copy can retain pointers to an interna

[PATCH] Rope iterators: don't retain pointers when copied

2018-05-20 Thread Jeremy Sawicki
Rope iterators sometimes contain pointers to an internal buffer inside the iterator itself. When such an iterator is copied, the copy incorrectly retains pointers to the original. This patch takes the simple approach of not copying the cached information when the internal buffer is being used, i