資料介紹
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次下載
- 《抑制開關(guān)磁阻電機(jī)振動的結(jié)構(gòu)設(shè)計研究》pdf 3次下載
- C語言教程:STL-for-each算法
- S7-STL中文編程手冊 28次下載
- STEP7語句表STL編程手冊 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語句表編程使用手冊
- 基于STL轉(zhuǎn)換為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密碼如何查看列出的權(quán)限 1031次閱讀
- C++ STL基本概念是什么 1407次閱讀
- 什么是STL? 4372次閱讀
- C++之STL庫中的容器 1243次閱讀
- STL的概述 1431次閱讀
- 請問怎樣去加密S7-GRAPH塊呢 1081次閱讀
- PLC梯形圖轉(zhuǎn)換成STL程序 4496次閱讀
- Effective TensorFlow 2.0高效開發(fā)指南 2817次閱讀
- Boost庫是什么?C++ Boost的詳細(xì)資料簡介 9380次閱讀
- 使用pdf解析可以用來讀取PDF文件中字符串文本,圖片數(shù)據(jù) 1.3w次閱讀
- PLC控制系統(tǒng)設(shè)計教程: 加熱爐送料系統(tǒng)——仿STL指令的編程方式梯形圖舉例 2780次閱讀
下載排行
本周
- 1AD庫封裝庫安裝教程
- 0.49 MB | 2次下載 | 免費(fèi)
- 2PC6206 300mA低功耗低壓差線性穩(wěn)壓器中文資料
- 1.12 MB | 1次下載 | 免費(fèi)
- 3網(wǎng)絡(luò)安全從業(yè)者入門指南
- 2.91 MB | 1次下載 | 免費(fèi)
- 4DS-CS3A P00-CN-V3
- 618.05 KB | 1次下載 | 免費(fèi)
- 5常用電子元器件介紹
- 3.21 MB | 1次下載 | 免費(fèi)
- 6Claroty與NIST網(wǎng)絡(luò)安全框架中文手冊
- 1.17 MB | 次下載 | 免費(fèi)
- 7NXP-TJA1054AT 英文原版資料
- 0.77 MB | 次下載 | 免費(fèi)
- 8PC3622 多相功能寬輸入同步升壓控制器中文手冊
- 0.84 MB | 次下載 | 免費(fèi)
本月
- 1貼片三極管上的印字與真實名稱的對照表詳細(xì)說明
- 0.50 MB | 106次下載 | 1 積分
- 2涂鴉各WiFi模塊原理圖加PCB封裝
- 11.75 MB | 89次下載 | 1 積分
- 3錦銳科技CA51F2 SDK開發(fā)包
- 24.06 MB | 43次下載 | 1 積分
- 4錦銳CA51F005 SDK開發(fā)包
- 19.47 MB | 19次下載 | 1 積分
- 5PCB的EMC設(shè)計指南
- 2.47 MB | 16次下載 | 1 積分
- 6HC05藍(lán)牙原理圖加PCB
- 15.76 MB | 13次下載 | 1 積分
- 7802.11_Wireless_Networks
- 4.17 MB | 12次下載 | 免費(fèi)
- 8蘋果iphone 11電路原理圖
- 4.98 MB | 6次下載 | 2 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935127次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191390次下載 | 10 積分
- 5十天學(xué)會AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183342次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81588次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73815次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65989次下載 | 10 積分
電子發(fā)燒友App






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