class-name(class-name&);Can accept a single argument of reference to same class type
（注意不是name = value，这是赋值运算，不是初始化，它调用operator=）
1。lose memory, the memory that some pointer point to was never deleted
2.will delete the memory still pointed to by other pointer.
the solution:Declare a copy constructor and an assignment operator for classes with dynamically allocated memory.
Explicitly disallow use of implicitly generated member functions you don't want.
The solution is to declare the function, operator= in this case, private. By declaring a member function explicitly, you prevent compilers from generating their own version, and by making the function private, you keep people from calling it.