C++ vector pop front using std move code example Example: c++ vector pop first element std::vector<int> vect; vect.erase(vect.begin());