Accessing element from reference to vector of pointers in C(++)

前端 未结 0 1090
被撕碎了的回忆
被撕碎了的回忆 2021-01-04 02:50

I have a reference to a vector of pointers, as follows:

std::vector& objects;

How can I access Objects from this vector?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题