I\'m using some classes and several utility methods that use std:: vector.
Now I need to use each frame a pop_front - push_back method on one of those classes (but they
Since pop_front() only erases the first element, the direct implementation is this:
pop_front()
template void pop_front(V & v) { assert(!v.empty()); v.erase(v.begin()); }
Don't worry about speed for now. If you want to go back and optimize code, ask for dedicated project time.