How to store in a variable a vector of class with getter method?

后端 未结 0 865
遇见更好的自我
遇见更好的自我 2020-12-08 05:37

I have this class

class M
{
  private:
    std::vector my_vector;
}

and I want to store in a new variable in main.cpp the vector,

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