[Solution found!] 是的,std::vector<T>::push_back()创建参数的副本并将其存储在向量中。如果要在向量中存储指向对象的指针,请创建一个,std::vector<whatever*>而 ...
確定! 回上一頁