資料介紹
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初級(jí)教程.pdf 56次下載
- 《抑制開(kāi)關(guān)磁阻電機(jī)振動(dòng)的結(jié)構(gòu)設(shè)計(jì)研究》pdf 3次下載
- C語(yǔ)言教程:STL-for-each算法
- S7-STL中文編程手冊(cè) 27次下載
- STEP7語(yǔ)句表STL編程手冊(cè) 24次下載
- 雙足機(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次下載
- PDF輸出時(shí)出現(xiàn)錯(cuò)誤提醒的解決方案 1185次閱讀
- 片上軟件需要什么安全完整性? 367次閱讀
- 博途使用STL中的MOVE指令 5653次閱讀
- 將PDF文件轉(zhuǎn)換為其他格式文件使用指南 948次閱讀
- 西門子SCL-ANY數(shù)據(jù)類型 1894次閱讀
- 萬(wàn)興PDF密碼如何查看列出的權(quán)限 835次閱讀
- C++ STL基本概念是什么 1222次閱讀
- 什么是STL? 4042次閱讀
- C++之STL庫(kù)中的容器 996次閱讀
- STL的概述 1188次閱讀
- PLC梯形圖轉(zhuǎn)換成STL程序 4249次閱讀
- Effective TensorFlow 2.0高效開(kāi)發(fā)指南 2745次閱讀
- Boost庫(kù)是什么?C++ Boost的詳細(xì)資料簡(jiǎn)介 9171次閱讀
- 使用pdf解析可以用來(lái)讀取PDF文件中字符串文本,圖片數(shù)據(jù) 1.3w次閱讀
- PLC控制系統(tǒng)設(shè)計(jì)教程: 加熱爐送料系統(tǒng)——仿STL指令的編程方式梯形圖舉例 2590次閱讀
下載排行
本周
- 1GBT1094.11-2022電力變壓器第11部分:干式變壓器
- 14.12 MB | 3次下載 | 免費(fèi)
- 2FT-7800R對(duì)講機(jī)維修手冊(cè)附原理圖
- 3.35 MB | 2次下載 | 免費(fèi)
- 3串口工具UartAssist5.0.exe
- 0.60 MB | 2次下載 | 免費(fèi)
- 4爬電距離和電氣間隙計(jì)算
- 0.75 MB | 2次下載 | 1 積分
- 5UC3584DW次級(jí)側(cè)后置穩(wěn)壓器EVM板原理圖
- 38.97KB | 2次下載 | 免費(fèi)
- 6UCC38C42 25瓦自諧振復(fù)位正激變換器
- 320.6KB | 1次下載 | 免費(fèi)
- 7ZX-D37 BLE主從一體藍(lán)牙模塊技術(shù)手冊(cè)
- 1.22 MB | 1次下載 | 免費(fèi)
- 8使用15個(gè)時(shí)鐘周期的ADS7841和ADS7844
- 188.55KB | 1次下載 | 免費(fèi)
本月
- 1無(wú)刷電機(jī)控制方案設(shè)計(jì)合作
- 1.05 MB | 22次下載 | 免費(fèi)
- 2美的超薄電磁爐TM-S1-09B主板原理圖
- 0.08 MB | 20次下載 | 免費(fèi)
- 3純電動(dòng)汽?的主要部件及?作原理
- 5.76 MB | 12次下載 | 5 積分
- 4GP328和GP88S對(duì)講機(jī)的維修實(shí)列資料合集免費(fèi)下載
- 0.03 MB | 10次下載 | 10 積分
- 5舒爾SLX4無(wú)線話筒接收機(jī)原理圖:二次變頻超外差部分
- 0.27 MB | 8次下載 | 免費(fèi)
- 6IP5385_DEMO開(kāi)發(fā)資料
- 1.96 MB | 7次下載 | 2 積分
- 7i.MX Linux開(kāi)發(fā)實(shí)戰(zhàn)指南—基于野火i.MX系列開(kāi)發(fā)板
- 17.86 MB | 7次下載 | 免費(fèi)
- 8Type-C VL160數(shù)據(jù)手冊(cè)
- 0.92 MB | 7次下載 | 3 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935115次下載 | 10 積分
- 2開(kāi)源硬件-PMP21529.1-4 開(kāi)關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420061次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233084次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191363次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
- 158M | 183329次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81581次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73805次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65985次下載 | 10 積分
評(píng)論
查看更多