資料介紹
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 57次下載
- 《抑制開關磁阻電機振動的結構設計研究》pdf 3次下載
- C語言教程:STL-for-each算法
- S7-STL中文編程手冊 28次下載
- STEP7語句表STL編程手冊 24次下載
- 雙足機器人STL 3D模型詳細資料合集免費下載 13次下載
- 數(shù)據(jù)結構與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輸出時出現(xiàn)錯誤提醒的解決方案 1792次閱讀
- 片上軟件需要什么安全完整性? 457次閱讀
- 博途使用STL中的MOVE指令 6761次閱讀
- 西門子SCL-ANY數(shù)據(jù)類型 2368次閱讀
- 萬興PDF密碼如何查看列出的權限 1031次閱讀
- C++ STL基本概念是什么 1407次閱讀
- 什么是STL? 4372次閱讀
- C++之STL庫中的容器 1243次閱讀
- STL的概述 1431次閱讀
- 請問怎樣去加密S7-GRAPH塊呢 1081次閱讀
- PLC梯形圖轉換成STL程序 4496次閱讀
- Effective TensorFlow 2.0高效開發(fā)指南 2817次閱讀
- Boost庫是什么?C++ Boost的詳細資料簡介 9380次閱讀
- 使用pdf解析可以用來讀取PDF文件中字符串文本,圖片數(shù)據(jù) 1.3w次閱讀
- PLC控制系統(tǒng)設計教程: 加熱爐送料系統(tǒng)——仿STL指令的編程方式梯形圖舉例 2780次閱讀
下載排行
本周
- 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 專業(yè)版下載 (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次下載 | 免費
評論
查看更多