c++ vector push_back 出错或者错误
阅读原文时间:2021年04月20日阅读:3

重载拷贝构造函数:

class A: thread
{
public:
A() {

}
A(const A& rhs){ x = rhs.x;};
private:
int x;

};