Process finished with exit code -1073741819 (0xC0000005) with vector of unique_ptr

前端 未结 0 1616
庸人自扰
庸人自扰 2020-12-04 05:58

I have a class containing a vector of unique_ptr as attribute:

class C1 {
public:
    void addInVec(unique_ptr elem) {
        vec.push_back(std::mov         


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