STL(一)Containers

根据Bjarne Stroustrup的《The C++ Programming Language》STL容器可分四类:

  1. 序列(sequens)
    • 向量(vector)
    • 表(list)
    • 双端队列(deque)
  2. 序列适配器(sequences adapters)
    • 堆栈(stack)
    • 队列(queue)
    • 优先队列(prority_queue)
  3. 关联容器(associative containers)
    • 映射(map)
    • 多重映射(multimap)
    • 集合(set)
    • 多重集合(multiset)
  4. 拟容器(almost containers)
    • 串(string)
    • 值向量(valarray)
    • 位集合(bitset)
原文地址:https://www.cnblogs.com/dahai/p/2274504.html