- Mastering C++ Programming
- Jeganathan Swaminathan
- 137字
- 2021-07-02 18:28:48
Containers
STL containers are objects that typically grow and shrink dynamically. Containers use complex data structures to store the data under the hood and offer high-level functions to access the data without us delving into the complex internal implementation details of the data structure. STL containers are highly efficient and time-tested.
Every container uses different types of data structures to store, organize, and manipulate data in an efficient way. Though many containers may seem similar, they behave differently under the hood. Hence, the wrong choice of containers leads to application performance issues and unnecessary complexities.
Containers come in the following flavors:
- Sequential
- Associative
- Container adapters
The objects stored in the containers are copied or moved, and not referenced. We will explore every type of container in the upcoming sections with simple yet interesting examples.
- HTML5+CSS3王者歸來
- 面向STEM的Scratch創(chuàng)新課程
- Learn Swift by Building Applications
- MATLAB實用教程
- 教孩子學(xué)編程:C++入門圖解
- Backbone.js Blueprints
- Elasticsearch Server(Third Edition)
- 數(shù)據(jù)結(jié)構(gòu)習(xí)題解析與實驗指導(dǎo)
- 時空數(shù)據(jù)建模及其應(yīng)用
- QGIS 2 Cookbook
- RESTful Web Clients:基于超媒體的可復(fù)用客戶端
- Simulation for Data Science with R
- Java服務(wù)端研發(fā)知識圖譜
- HikariCP數(shù)據(jù)庫連接池實戰(zhàn)
- 匯編語言程序設(shè)計