Is garbage collection automatic in standard C++?

前端 未结 8 2060
情深已故
情深已故 2020-12-08 23:12

From what I understand, in standard C++ whenever you use the new operator you must also use the delete operator at some point to prevent memory leaks. This is because there

8条回答
提交回复
热议问题