Why doesn't returning a std::unique_ptr violate unique_ptr's deleted copy constructor?

前端 未结 0 338
野趣味
野趣味 2020-12-03 02:03

I\'m learning about copy constructors; originally started with trying to understand why I got a "use of deleted function" error when I had a unique_ptr

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