資料介紹
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.
effective
加入交流群
掃碼添加小助手
加入工程師交流群
下載該資料的人也在下載
下載該資料的人還在閱讀
更多 >
- MSVC-STL MSVC的C++標(biāo)準(zhǔn)庫(kù)實(shí)現(xiàn)
- stl-thumb STL縮略圖生成器
- 《抑制開(kāi)關(guān)磁阻電機(jī)振動(dòng)的結(jié)構(gòu)設(shè)計(jì)研究》pdf 3次下載
- C語(yǔ)言教程:STL-for-each算法
- S7-STL中文編程手冊(cè) 29次下載
- STEP7語(yǔ)句表STL編程手冊(cè) 25次下載
- 雙足機(jī)器人STL 3D模型詳細(xì)資料合集免費(fèi)下載 13次下載
- 數(shù)據(jù)結(jié)構(gòu)與STL 0次下載
- 中文版第三版Effective C++ 高清PDF 0次下載
- STL算法在GIS中的應(yīng)用 33次下載
- STEP7 STL語(yǔ)句表編程使用手冊(cè)
- 基于STL轉(zhuǎn)換為X3D格式的研究 0次下載
- Effective Automotive Quality
- An Effective Control Technique
- effective stl中文版下載pdf 0次下載
- 華為PCBA檢驗(yàn)規(guī)范.pdf 1.4k次閱讀
- PDF輸出時(shí)出現(xiàn)錯(cuò)誤提醒的解決方案 3.6k次閱讀
- 片上軟件需要什么安全完整性? 907次閱讀
- 博途使用STL中的MOVE指令 9.7k次閱讀
- 西門(mén)子SCL-ANY數(shù)據(jù)類(lèi)型 3.9k次閱讀
- 萬(wàn)興PDF密碼如何查看列出的權(quán)限 2k次閱讀
- C++ STL基本概念是什么 2.2k次閱讀
- 什么是STL? 5.6k次閱讀
- C++之STL庫(kù)中的容器 2.1k次閱讀
- STL的概述 2.2k次閱讀
- PLC梯形圖轉(zhuǎn)換成STL程序 7k次閱讀
- Effective TensorFlow 2.0高效開(kāi)發(fā)指南 3.1k次閱讀
- Boost庫(kù)是什么?C++ Boost的詳細(xì)資料簡(jiǎn)介 1w次閱讀
- 使用pdf解析可以用來(lái)讀取PDF文件中字符串文本,圖片數(shù)據(jù) 1.4w次閱讀
- PLC控制系統(tǒng)設(shè)計(jì)教程: 加熱爐送料系統(tǒng)——仿STL指令的編程方式梯形圖舉例 3.4k次閱讀
下載排行
本周
- 1MDD品牌三極管MMBT3906數(shù)據(jù)手冊(cè)
- 2.33 MB | 次下載 | 免費(fèi)
- 2MDD品牌三極管S9012數(shù)據(jù)手冊(cè)
- 2.62 MB | 次下載 | 免費(fèi)
- 3聯(lián)想flex2-14D/15D說(shuō)明書(shū)
- 4.92 MB | 次下載 | 免費(fèi)
- 4收音環(huán)繞擴(kuò)音機(jī) AVR-1507手冊(cè)
- 2.50 MB | 次下載 | 免費(fèi)
- 524Pin Type-C連接器設(shè)計(jì)報(bào)告
- 1.06 MB | 次下載 | 免費(fèi)
- 6新一代網(wǎng)絡(luò)可視化(NPB 2.0)
- 3.40 MB | 次下載 | 免費(fèi)
- 7MS1000TA 超聲波測(cè)量模擬前端芯片技術(shù)手冊(cè)
- 0.60 MB | 次下載 | 免費(fèi)
- 8MS1022高精度時(shí)間測(cè)量(TDC)電路數(shù)據(jù)手冊(cè)
- 1.81 MB | 次下載 | 免費(fèi)
本月
- 1愛(ài)華AIWA HS-J202維修手冊(cè)
- 3.34 MB | 37次下載 | 免費(fèi)
- 2PC5502負(fù)載均流控制電路數(shù)據(jù)手冊(cè)
- 1.63 MB | 23次下載 | 免費(fèi)
- 3NB-IoT芯片廠商的資料說(shuō)明
- 0.31 MB | 22次下載 | 1 積分
- 4H110主板CPU PWM芯片ISL95858HRZ-T核心供電電路圖資料
- 0.63 MB | 6次下載 | 1 積分
- 5UWB653Pro USB口測(cè)距通信定位模塊規(guī)格書(shū)
- 838.47 KB | 5次下載 | 免費(fèi)
- 6技嘉H110主板IT8628E_BX IO電路圖資料
- 2.61 MB | 4次下載 | 1 積分
- 7蘇泊爾DCL6907(即CHK-S007)單芯片電磁爐原理圖資料
- 0.04 MB | 4次下載 | 1 積分
- 8100W準(zhǔn)諧振反激式恒流電源電路圖資料
- 0.09 MB | 2次下載 | 1 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935137次下載 | 10 積分
- 2開(kāi)源硬件-PMP21529.1-4 開(kāi)關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191439次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
- 158M | 183353次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81602次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73822次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發(fā)燒友App





創(chuàng)作
發(fā)文章
發(fā)帖
提問(wèn)
發(fā)資料
發(fā)視頻
上傳資料賺積分
評(píng)論