16.11 — std::vector and stack behavior – Learn C++
push_back()andemplace_back()will increment the length of astd::vector, and will cause a reallocation to occur if the capacity is not sufficient to insert the value. Extra capacity from pushing In the above outpu