If I allocated an std::vector to a certain size and capacity using resize() and reserve() at the beginning of my program, is it possible that
resize()
reserve()
pop_XXX will never change the capacity. push_XXX can change the capacity if you try to push more stuff on than the capacity allows.