Standard Template Library (STL)

Standard Template Library (STL)

STL Containers

  1. Sequence Containers: vector, deque, list
  2. Container Adapters: stack, queue, priority_queue
  3. Ordered associative containers: [multi]set, [multi]map

C++11/14/17 adds: (often asked in C++ Interview Questions)

  1. Sequence containers: array, forward_list
  2. Unordered associative containers: unordered_[multi]set, unordered_[muti]map (implemented as Hash Table)

Other

  • forward_list