[Bug c++/86015] Better handling of iterator distances

2018-05-31 Thread joshua.r.marshall.1991 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015 --- Comment #2 from Josh Marshall --- There are also lines close by which call std::distance() which need to be similarly wrapped.

[Bug c++/86015] Better handling of iterator distances

2018-05-31 Thread joshua.r.marshall.1991 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015 --- Comment #1 from Josh Marshall --- It looks like wrappings would be applicable at the following lines: 296, 297, 2438, 2439, 2494, 2495 using https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/stl_algo.h as