摘要:
#include <iostream>using namespace std;int inc = 0;string tab(){ string t; t.reserve(inc+1); for(int i = 0 ; i < inc ; ++i) { t.push_back('\t'); } return t; } class base{public: base(void){ inc++; cout<<tab()<<"Base::ctor()"<<endl; cout<<tab()<&l 阅读全文