How could I iterator a vector as a member of class while the corresponding objects pass as a const

前端 未结 0 1376
感情败类
感情败类 2020-12-02 07:59

I have a simple class with only one member which is a vector, just like this:

class MyClass{
private:
    vector vector_member;
public:
    meth         


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