Closed mvictoras closed 7 years ago
vector<int> aVector; aVector.push_back(10); aVector.erase(aVector.begin());
vector<int> aVector;
aVector.push_back(10);
aVector.erase(aVector.begin());
Known issue related with the gcc version you are using: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57158 https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2011
My bad, it was a bug in my code.
vector<int> aVector;
aVector.push_back(10);
aVector.erase(aVector.begin());
Known issue related with the gcc version you are using: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57158 https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2011