08 2013 档案

摘要: 阅读全文

posted @ 2013-08-25 15:36 shizuka 阅读(146) 评论(0) 推荐(0)

摘要:#include #include using namespace std;templateclass S{public: S() {} static T* t; static void gen() { static T p; t = &p;/* t = new T();*/ }};class A : public S { public: char carr[1024]; };A* A::t = NULL;class B : public S { public: char carr[2048]; };B* B::t = N... 阅读全文

posted @ 2013-08-19 07:06 shizuka 阅读(303) 评论(0) 推荐(0)

摘要: 阅读全文

posted @ 2013-08-10 13:04 shizuka 阅读(122) 评论(0) 推荐(0)

导航