The answer depends on the STL container. Node based containers such as map and set do not invalidate existing contents when adding or deleting but containers such as vector and deque do.
My article on STL containers explains this and a lot more.
http://www.experts-exchange.com/Programming/Languages/CPP/A_2812-Which-STL-Container.html