摘要: //下面的代码思想取自efficient c++ 1 ////////////////////////////////////////////////////////////////////////// 2 //可分为:1.内存池本身的创建和删除 3 // 2.内存池中空闲内存的维护 ... 阅读全文
posted @ 2015-01-14 22:29 P.wang 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 一直对static和全局变量的作用域模模糊糊,今天读到一篇文章,写得很详细。温故能知新。下面的内容转载自:http://developer.51cto.com/art/201104/256820.htm—————————————————————————————————————————————————... 阅读全文
posted @ 2015-01-14 10:53 P.wang 阅读(561) 评论(0) 推荐(0) 编辑