• Allocator:动态空间配置、管理、释放的class template;
  • Container:序列式容器(vector、dequeue);关联式容器(set、map);
  • Iterator:对Container进行迭代,获取元素
  • Algorithm:处理元素
  • Functor:仿函数,<functional>
  • Adaptor:容器适配器 +  Iterator适配器 + Functor适配器


截图来自《STL源码剖析》

C++_STL源码阅读:六大组件


手画版:

C++_STL源码阅读:六大组件



相关文章:

  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2021-09-18
  • 2022-12-23
  • 2021-08-22
猜你喜欢
  • 2021-12-29
  • 2021-11-02
  • 2022-01-04
  • 2021-12-16
  • 2021-11-19
  • 2021-04-06
  • 2021-12-10
相关资源
相似解决方案