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