http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60278
Bug ID: 60278 Summary: string::erase() (and other containers) does not take const_iterators Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rscrihf at gmail dot com As of C++11, std::string::erase takes const_iterators in its signature. As of 4.8.2, this isn't the case. I see other bugs referencing similar issues - for instance, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54577 is marked as FIXED, but I see the signature of deque::erase is still wrong.