How to use references of an std::unique_ptr?

后端 未结 0 1165
青春惊慌失措
青春惊慌失措 2020-11-21 15:53

I can\'t figure out to correctly access items in a vector made of pointers to unique items (I suspect the part in main() is leaking).

Does a different type of pointer

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