运算符重载,浅拷贝(logical copy) ,vs, 深拷贝(physical copy),三大件(bigthree problem)…
一般的我们喜欢这样对对象赋值: Person p1;Person p2=p1; classT object(another_object), or A a(b); classT object = another object; class A { // … }; int main( ) { A x; A y(x); // … A z = x; z = y; } 这样的话,如果成员变量中有指…