C++ vector of class objects and dynamic memory allocation

前端 未结 0 1592
被撕碎了的回忆
被撕碎了的回忆 2021-02-01 03:14

This is a simplified version of what I want to do, it crushes when push_back is called, specifically when the destructor is called. If I delete the body of the destructor it wor

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