摘要:
class A{public: A() { cout<<"普通构造函数"<<endl; } A(const A& a) { cout<<"copy construct"<<endl; } ~A() { cout<<"deconstruct"<<endl; } A& operator=(const A &a) { cout<<"复制操作符"<<endl; return *this; }};A fA( 阅读全文
posted @ 2013-07-16 10:12
dyc0113
阅读(169)
评论(0)
推荐(0)

浙公网安备 33010602011771号