- 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.
- 少年輕松趣編程:用Scratch創作自己的小游戲
- 算法訓練營:入門篇(全彩版)
- 基于Java技術的Web應用開發
- Linux網絡程序設計:基于龍芯平臺
- Mastering Apache Spark 2.x(Second Edition)
- Unreal Engine 4 Shaders and Effects Cookbook
- 從0到1:Python數據分析
- Kubernetes源碼剖析
- 深入解析Java編譯器:源碼剖析與實例詳解
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- C語言程序設計
- Java高并發編程詳解:深入理解并發核心庫
- Oracle Database XE 11gR2 Jump Start Guide
- 深入理解Java虛擬機:JVM高級特性與最佳實踐
- 體驗之道:從需求到實踐的用戶體驗實戰