2013年3月26日

boost 程序库完全开发指南_ch3_memory_manager

摘要: ch3的代码块好像还真的不用编译,只需要把代码嵌入即可#include <iostream>#include <memory>#include <vector>using namespace std;#include <boost/smart_ptr.hpp> #include <boost/make_shared.hpp>#include <boost/enable_shared_from_this.hpp>using namespace boost; #if 0struct posix_file //一个示范性质的文件 阅读全文

posted @ 2013-03-26 20:18 Orz.. 阅读(262) 评论(0) 推荐(0)

关于POD的只言片语

摘要: from:http://blog.csdn.net/aladdina/article/details/3953552POD:全称是“Plain Old Data”,是C++ 98标准(ISO/IEC 14882, first edition, 1998-09-01)中引入的一个概念,主要目的是兼容C和C++语言中对数据的比较。实质上POD类型主要包括int, char, float等原始类型及其集合类型(aggregate class)。参见:http://en.wikipedia.org/wiki/Plain_Old_Data_Structureshttp://www.fnal.gov/do 阅读全文

posted @ 2013-03-26 15:38 Orz.. 阅读(145) 评论(0) 推荐(0)

导航