![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Boost Learning
WA说
喜欢折腾,对微服务实践有自己深入的了解。
涉猎语言Java,Python
涉猎框架Spring Cloud/Dubbo/Spring Framework
展开
-
使用Boost库中的组件进行C++内存管理
C++标准库中的auto_ptr,智能指针,部分的解决了获取资源自动释放的问题在Boost中,提供了6中智能指针:scoped_ptr, scoped_array, shared_ptr, shared_array, weak_ptr, instrusive_ptt,这些智能指针属于smart_ptr组件使用时: #include using namespace std;接下来介绍原创 2013-07-14 15:28:06 · 1453 阅读 · 0 评论 -
STL迭代器与部分算法学习笔记
迭代器是类似指针的对象,分为5种,输入,输出,前向,双向和随机访问输入迭代器(InputIterator)输入迭代器并不是指某种类型,而是指一系列类型举例template InputIterator find (InputIterator first, InputIterator last, const T& val){ while (first!=last) {原创 2013-07-14 23:28:35 · 1103 阅读 · 0 评论