复制拷贝构造函数的重要性 简介 class A; 本人构造了一个vector tt; 结果A的构造函数没有写好,然后每次tt.pushback(A());的时候tt中所有的A都会进行赋值拷贝,所以,赋值拷贝必须写好。 Hope is a good thing,maybe the best of things,and no good thing ever dies.----------- Andy Dufresne