[Bug libstdc++/60278] New: string::erase() (and other containers) does not take const_iterators

rscrihf at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 19 23:38:00 GMT 2014


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.



More information about the Gcc-bugs mailing list