why is std::string causing a memory leak in a class even after deleting

前端 未结 0 1186
攒了一身酷
攒了一身酷 2021-01-29 07:43

I am building a class that uses void* as a storage method. I am aware that it is not a good idea to use void*. But I don\'t know what value it will hold at compile time, so I th

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