Returning a new object by dereferencing a local pointer to it in c++?

前端 未结 0 1879
别跟我提以往
别跟我提以往 2020-12-11 14:56

I am looking at c++ code that does this, and wondering if it leaks memory, invokes UB but just happens to work on this compiler, or is an idiom properly supported by the lan

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