how to add element in front of vector c++ code example Example: vector push front insert() auto it = vec.insert(vec.begin(), 3);