#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
vector<int> myInts;
auto anIter = std::remove(myInts.begin(),myInts.end(),5);
if (anIter == myInts.end())
std::cout << "iterator = myInts.end()";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgl2ZWN0b3I8aW50PiBteUludHM7CglhdXRvIGFuSXRlciA9IHN0ZDo6cmVtb3ZlKG15SW50cy5iZWdpbigpLG15SW50cy5lbmQoKSw1KTsKCWlmIChhbkl0ZXIgPT0gbXlJbnRzLmVuZCgpKQoJCXN0ZDo6Y291dCA8PCAiaXRlcmF0b3IgPSBteUludHMuZW5kKCkiOwoJCQoJCQp9