关于copy和operator的有关问题 [加分!]

关于copy和operator的问题 [加分!]
经常看到有代码这么写:

TestThread(const TestThread & copy);

void operator=(const TestThread & copy);

请问是什么意思呢?谢谢!

------解决方案--------------------
TestThread(const TestThread & copy); 
拷贝构造函数:即用一个现有的对象去克隆出一个新对象。
void operator=(const TestThread & copy); 
赋值函数:即将一个现有的对象的值赋给另一个对象(必须是已经定义了的)。
就这么多了。
------解决方案--------------------
C/C++ code
TestThread(const TestThread & copy); 拷贝构造函数

void operator=(const TestThread & copy); operator操作符重载

1.
TestThread t = new TestThread;调用的是拷贝构造函数,因为t是这个时候生成并且初始化的

2.
TestThread t = new TestThread;
TestThread t1;
t1 = t; 调用的是operator操作符重载,因为t1已经生成了,在这里只是给她重新赋值