把拷贝构造函数和operator=都在private里声明即可
=deletehttp://www.oschina.net/question/565065_87263具体可见《C++ Primer》第五版。