- 博客(3)
- 资源 (4)
- 收藏
- 关注
转载 没有作用域的作用域解析符scope resolution operator without a scope
stackoverflowIt means global scope. You might need to use this operator when you have conflicting functions or variables in the same scope and you need to use a global one. You might have something lik
2017-01-18 15:45:52 1456
原创 T * const p与const T * p,const shared_ptr< T> p与const shared_ptr< T> p
shared_ptr< T> p; —> T * p; : nothing is const const shared_ptr< T> p; —> T * const p; : p is const shared_ptr< con
2017-01-18 14:54:38 867
原创 boost::bind与find_if的搭配使用
#include <iostream>#include <algorithm>#include <vector>#include <boost/function.hpp>#include <boost/bind.hpp>class Test{public: Test(int i,int j) :num1(i), num2(j) { } ~Tes
2017-01-03 15:59:47 1854
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人