Passing object ownership in C++

后端 未结 0 467
你的背包
你的背包 2021-02-07 16:26

What is the best way to indicate that an object wants to take ownership of another object? So far, I\'ve been using a std::auto_ptr in the public interface, so the

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