c++data-structuresstlequivalent

Data structures equivalents of STL containers


I study data structures and I want to ask what are the equivalents of STL containers.

for example


Solution

  • Concering the C++ standard library containers, the standard itself tries not to say too much about implementation. However, the very specific constraints on complexity of insertion, removal, look-up, range insertion and so on, mean that most implementations use the same types of data structures for the containers. Concerning some of your examples:

    I believe the STL follows these implementations.