Does C++ have some kind of resizeable array that can contain references? I need to store references and be able to iterate through them as fast as possible. It may have any number of objects stored in it, and the number of objects stored will change. Is a vector appropriate for this, or should I use something else?