Comparing the standard C ++ library libraries, the standard itself tries not to say too much about the implementation. However, there are very specific limitations on the complexity of inserting, deleting, searching, inserting a range, etc. Mean that most implementations use the same types of data structures for containers. As for some of your examples:
- std :: list: doubly linked list
- std :: set, std :: multiset, std :: map, std :: multimap: self-balancing binary trees, usually red-black trees.
- hash_ *: C ++ 11 provides unordered_set, unordered_map and multi siblings. These are hash tables.
- bitset: fixed size array
I believe the STL follows these implementations.
juanchopanza
source share