How to erase & delete pointers to objects stored in a vector?

前端 未结 5 1010
情歌与酒
情歌与酒 2020-12-02 10:17

I have a vector that stores pointers to many objects instantiated dynamically, and I\'m trying to iterate through the vector and remove certain elements (remove from vector

5条回答
提交回复
热议问题