2015年2月15日

boost智能指针指定const对象问题

摘要: 由于非常习惯用const来加强代码的封装性,结果最近遇到了一些问题,顺带研究了一下以前基本没用过boost的智能指针,后来进了新项目组,引擎里遇到了大量boost的shared_ptr,intrusive_ptr指针,还有weak_ptr。因为遇到过更好用的weak_ptr,所以boost::wea... 阅读全文

posted @ 2015-02-15 10:55 空娴 阅读(329) 评论(0) 推荐(0) 编辑

导航