![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
boost源码阅读
文章平均质量分 76
zero_lee
这个作者很懒,什么都没留下…
展开
-
boost::assign的用法浅析
在boost中看到这样的代码:#include // for 'operator+=()'#include ; using namespace std;using namespace boost::assign; // bring 'operator+=()' into scope{ vector values; values += 1,2,3,4,5,6,7原创 2012-09-26 19:59:46 · 3949 阅读 · 0 评论 -
[Happy Coding] 函数返回数组指针和数组引用
在boost::array中看到这样的代码: template T(&get_c_array(boost::array& arg))[N] { return arg.elems; } // Const version. template const T(&get_c_array(const boost::a原创 2012-09-14 19:57:49 · 2308 阅读 · 0 评论