资料介绍
Sure, the STL has iterators, algorithms, and function objects, but for most C++
programmers, it's the containers that stand out. More powerful and flexible than arrays,
they grow (and often shrink) dynamically, manage their own memory, keep track of
how many objects they hold, bound the algorithmic complexity of the operations they
support, and much, much more. Their popularity is easy to understand. They're simply
better than their competition, regardless of whether that competition comes from
containers in other libraries or is a container type you'd write yourself. STL containers
aren't just good. They're really good.
This chapter is devoted to guidelines applicable to all the STL containers. Later
chapters focus on specific container types. The topics addressed here include selecting
the appropriate container given the constraints you face: avoiding the delusion that
code written for one container type is likely to work with other container types: the
significance of copying operations for objects in containers: difficulties that arise when
pointers of auto_ptrs are stored in containers: the ins and outs of erasing: what you can
and cannot accomplish with custom allocators: tips on how to maximize efficiency:
and considerations for using containers in a threaded environment.
That's a lot of ground to cover, but don't worry. The Items break it down into bitesized
chunks, and along the way, you're almost sure to pick up several ideas you can
apply to your code now.
programmers, it's the containers that stand out. More powerful and flexible than arrays,
they grow (and often shrink) dynamically, manage their own memory, keep track of
how many objects they hold, bound the algorithmic complexity of the operations they
support, and much, much more. Their popularity is easy to understand. They're simply
better than their competition, regardless of whether that competition comes from
containers in other libraries or is a container type you'd write yourself. STL containers
aren't just good. They're really good.
This chapter is devoted to guidelines applicable to all the STL containers. Later
chapters focus on specific container types. The topics addressed here include selecting
the appropriate container given the constraints you face: avoiding the delusion that
code written for one container type is likely to work with other container types: the
significance of copying operations for objects in containers: difficulties that arise when
pointers of auto_ptrs are stored in containers: the ins and outs of erasing: what you can
and cannot accomplish with custom allocators: tips on how to maximize efficiency:
and considerations for using containers in a threaded environment.
That's a lot of ground to cover, but don't worry. The Items break it down into bitesized
chunks, and along the way, you're almost sure to pick up several ideas you can
apply to your code now.
下载该资料的人也在下载
下载该资料的人还在阅读
更多 >
- stl-thumb STL缩略图生成器
- PROTEUS初级教程.pdf 56次下载
- 《抑制开关磁阻电机振动的结构设计研究》pdf 3次下载
- C语言教程:STL-for-each算法
- S7-STL中文编程手册 27次下载
- STEP7语句表STL编程手册 24次下载
- 双足机器人STL 3D模型详细资料合集免费下载 13次下载
- 数据结构与STL 0次下载
- 中文版第三版Effective C++ 高清PDF 0次下载
- STL算法在GIS中的应用 33次下载
- STEP7 STL语句表编程使用手册
- 基于STL转换为X3D格式的研究 0次下载
- Effective Automotive Quality
- An Effective Control Technique
- effective stl中文版下载pdf 0次下载
- PDF输出时出现错误提醒的解决方案 1185次阅读
- 片上软件需要什么安全完整性? 367次阅读
- 博途使用STL中的MOVE指令 5653次阅读
- 将PDF文件转换为其他格式文件使用指南 948次阅读
- 西门子SCL-ANY数据类型 1894次阅读
- 万兴PDF密码如何查看列出的权限 835次阅读
- C++ STL基本概念是什么 1222次阅读
- 什么是STL? 4042次阅读
- C++之STL库中的容器 996次阅读
- STL的概述 1188次阅读
- PLC梯形图转换成STL程序 4249次阅读
- Effective TensorFlow 2.0高效开发指南 2745次阅读
- Boost库是什么?C++ Boost的详细资料简介 9171次阅读
- 使用pdf解析可以用来读取PDF文件中字符串文本,图片数据 1.3w次阅读
- PLC控制系统设计教程: 加热炉送料系统——仿STL指令的编程方式梯形图举例 2590次阅读
下载排行
本周
- 1电子电路原理第七版PDF电子教材免费下载
- 0.00 MB | 1490次下载 | 免费
- 2单片机典型实例介绍
- 18.19 MB | 93次下载 | 1 积分
- 3S7-200PLC编程实例详细资料
- 1.17 MB | 27次下载 | 1 积分
- 4笔记本电脑主板的元件识别和讲解说明
- 4.28 MB | 18次下载 | 4 积分
- 5开关电源原理及各功能电路详解
- 0.38 MB | 10次下载 | 免费
- 6基于AT89C2051/4051单片机编程器的实验
- 0.11 MB | 4次下载 | 免费
- 7基于单片机和 SG3525的程控开关电源设计
- 0.23 MB | 3次下载 | 免费
- 8基于单片机的红外风扇遥控
- 0.23 MB | 3次下载 | 免费
本月
- 1OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 2PADS 9.0 2009最新版 -下载
- 0.00 MB | 66304次下载 | 免费
- 3protel99下载protel99软件下载(中文版)
- 0.00 MB | 51209次下载 | 免费
- 4LabView 8.0 专业版下载 (3CD完整版)
- 0.00 MB | 51043次下载 | 免费
- 5555集成电路应用800例(新编版)
- 0.00 MB | 33562次下载 | 免费
- 6接口电路图大全
- 未知 | 30320次下载 | 免费
- 7Multisim 10下载Multisim 10 中文版
- 0.00 MB | 28588次下载 | 免费
- 8开关电源设计实例指南
- 未知 | 21539次下载 | 免费
总榜
- 1matlab软件下载入口
- 未知 | 935053次下载 | 免费
- 2protel99se软件下载(可英文版转中文版)
- 78.1 MB | 537791次下载 | 免费
- 3MATLAB 7.1 下载 (含软件介绍)
- 未知 | 420026次下载 | 免费
- 4OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 5Altium DXP2002下载入口
- 未知 | 233046次下载 | 免费
- 6电路仿真软件multisim 10.0免费下载
- 340992 | 191183次下载 | 免费
- 7十天学会AVR单片机与C语言视频教程 下载
- 158M | 183277次下载 | 免费
- 8proe5.0野火版下载(中文版免费下载)
- 未知 | 138039次下载 | 免费
评论
查看更多