Why std::vector of pointers avoid deconstruction bugs?

前端 未结 0 1372
有刺的猬
有刺的猬 2020-12-08 01:14

In one of my project I managed to fix a bug switching from a std::vector of objects to a std::vector of pointers to the object. Using the debugger I found that the error occ

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