摘要:
看如下代码:#include<iostream>class TestConstructor{public: TestConstructor() { std::cout<<"TestConstructor()"<<std::endl; } ~TestConstructor() { std::cout<<"~TestConstructor()"<<std::endl; } TestConstructor(const TestConstructor& testObj) { std::cout& 阅读全文
posted @ 2013-02-18 10:57 david2303 阅读(485) 评论(0) 推荐(2) 编辑