if you are re-using pointers to these structures somewhere that is dangerous. If the vector is re-sized the pointers are invalidated.