简单框架
摘要:
1 #include <iostream> 2 #include <vector> 3 #include <algorithm> 4 using namespace std; 5 class Base 6 { 7 public: 8 9 virtual void run()=0; 10 11 }; 12 13 template<class T> 14 class BaseT: public Base 15 { 16 public: 17 static Base* get() 18 { 19 return new T; 20 ... 阅读全文
posted @ 2012-12-24 15:08 keep_simple 阅读(291) 评论(0) 推荐(0)
浙公网安备 33010602011771号