https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24882 Bug 24882 depends on bug 60278, which changed state.
Bug 60278 Summary: string::erase() (and other containers) does not take const_iterators https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60278 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED