2016年8月6日

摘要: #include <iostream>#include <typeinfo> void foo(){ std::cout << "foo() called" << std::endl;} typedef void FooT(); // FooT is a function type, // the 阅读全文
posted @ 2016-08-06 18:28 itdef 阅读(251) 评论(0) 推荐(0)
摘要: c++ template学习记录 使用模板将实际类型的指针进行封装 当变量退出作用域 自动delete 阅读全文
posted @ 2016-08-06 17:40 itdef 阅读(393) 评论(0) 推荐(0)

导航