2017年6月9日

摘要: 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)
摘要: 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)
摘要: template <class InputIterator, class ForwardIterator>inline ForwardIterator uninitialized_copy(InputIterator first, InputIterator last,ForwardIterator 阅读全文
posted @ 2017-06-09 10:25 itdef 阅读(1708) 评论(0) 推荐(0)

导航