http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57158



             Bug #: 57158

           Summary: std::list.erase(const_iterator pos) not implemented

    Classification: Unclassified

           Product: gcc

           Version: 4.7.2

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: libstdc++

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: mattyclark...@gmail.com





#include <list>



int main() {

  std::list<int> list;

  list.emplace_back(15);

  list.emplace_back(14);

  list.erase(list.begin());  // OK

  list.erase(list.cbegin()); // Not implemented

  return 0;

}



As per 23.3.5.4 of the standard.



The other containers need implementations too.



Not the end of the world and it might be already on your roadmap for the

library.

Reply via email to