A a(); A b=a ; //copy constructor b=a; //copy assignment operator 转载于:https://www.cnblogs.com/Myhsg/archive/2009/09/18/1569725.html