会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
itdef
2017年6月9日
c++ stl源码剖析学习笔记(三)容器 vector
摘要: stl中容器有很多种 最简单的应该算是vector 一个空间连续的数组 他的构造函数有多个 以其中 template<typename T> vector(size_type n,const T& value)为例 vector(size_type n,const T& value) -> fill
阅读全文
posted @ 2017-06-09 16:17 itdef
阅读(345)
评论(0)
推荐(0)
c++ stl源码剖析学习笔记(二)iterator
摘要: ITERATOR 迭代器 template<class InputIterator,class T> InputIterator find(InputIterator first,InputIterator last,const T& value) { while(first != last &&
阅读全文
posted @ 2017-06-09 11:41 itdef
阅读(317)
评论(0)
推荐(0)
c++ stl源码剖析学习笔记(一)uninitialized_copy()函数
摘要: template <class InputIterator, class ForwardIterator>inline ForwardIterator uninitialized_copy(InputIterator first, InputIterator last,ForwardIterator
阅读全文
posted @ 2017-06-09 10:25 itdef
阅读(1708)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告