title: How does c++ std::vector work?
body: <p>How does adding and removing elements "rescale" the data?  How is the size of the vector calculated (I believe it is kept track of)?   Any other additional resources to learn about vectors would be appreciated.</p>