摘要:
首先看看何为构造函数的隐式转换,#include using std::cout;using std::endl;class A{public: A() { cout<<"constructor A"<<endl; }};class B{ public: B(A& a) { cout<<"constructor B"<<endl; }};void func(B b){ cout<... 阅读全文
posted @ 2012-05-07 14:46
IT技术畅销书
阅读(211)
评论(0)
推荐(0)

浙公网安备 33010602011771号