摘要: #include <iostream>#include <vector>using namespace std;struct Exmp1 {//默认构造函数Exmp1() {cout << "Exmp1()" << endl;}//复制构造函数Exmp1(const Exmp1 &) {cout << "Exmp1(const Exmpl &)" << endl;}//赋值操作符Exmp1 & operator = (const Exmp1 &rhc) 阅读全文
posted @ 2011-12-01 18:40 希望花开 阅读(927) 评论(0) 推荐(0) 编辑