![](https://img-blog.csdnimg.cn/20190918140213434.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
【菜鸟驿站】LearnSTL-标准模板库
【菜鸟驿站】LearnSTL-标准模板库
尘海折柳
心里有梦,眼里有光,带着心中的梦想向光而行
展开
-
STL标准模板库用法总结——总纲
目录一.引言二.STL六大组件2.1 容器(containers)2.2 算法(algorithms)2.3 迭代器(iterators)2.4 仿函数(functors)2.5 配接器(adapters)2.6 配置器( allocators )三.各组件详细介绍3.1 容器(containers)3.1.1 序列式容器(Sequence Contai...原创 2019-04-08 10:47:07 · 377 阅读 · 0 评论 -
STL标准库序列式容器(Sequence Containers)用法总结(一)—— Vector
目录一.引言二.vector包含的方法2.1初始化方法2.2 赋值运算符重载2.3 Vector基本操作2.3.1 assign用法2.3.2 Vector常用方法介绍三. Vector的构造与内存管理一.引言众所周知,常用的数据结构包括数组(array),链表((list),树(tree),堆栈(stack),队列(queue),散列表(hash tab...原创 2019-04-09 13:46:12 · 1026 阅读 · 0 评论