摘要:
1 template<class T> 2 class Counted 3 { 4 public: 5 class TooManyObjects{} 6 static int objectCount(){ return numObjects; } 7 protected: 8 Counted(); 9 Counted(const Counted&);10 ~Counted() { --numObjects; }11 private:12 static int numObje... 阅读全文
posted @ 2013-03-12 15:26
愤怒的豆沙包
阅读(510)
评论(0)
推荐(0)

浙公网安备 33010602011771号