Does std::vector.pop_back() change vector's capacity?
Asked 2009-10-08T09:52:07.567
16
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 pop_back() may "break" the reserved capacity and cause reallocations?