STL六大组件交互关系
Container通过Allocator取得数据存储空间,Algorithm通过Iterator存取Container内存,Functor可以协助Algorithm完成不同的策略变化,Adaptor可以修饰或套接Functor。
Container通过Allocator取得数据存储空间,Algorithm通过Iterator存取Container内存,Functor可以协助Algorithm完成不同的策略变化,Adaptor可以修饰或套接Functor。