How to prevent out of scope copied object from calling the destructor

后端 未结 0 1751
面向向阳花
面向向阳花 2020-11-22 01:54

So I have this code down there which is a dummy version of my main code and is supposed to create an object stored in a vector. Since the object goes out of scope when the c

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