Do I need a copy constructor if I'm using a vector to hold objects?

后端 未结 0 1443
名媛妹妹
名媛妹妹 2021-01-03 03:05

Here is an example:

class Accounts
{
    //member variables
    //member functions
    //constructor
};

//in main
int main()
{
    std::vector

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