The STL documentation classifies components in two ways.
- Categories are a classification by functionality. The categories are:
- Container
- Iterator
- Algorithm
- Function Object
- Utility(very basic concepts and functions that are used in many
different parts of the library.)
- Adaptor
- Allocator(some low-level mechanisms for allocating and deallocating memory.)
- Component types are a structural classification: one based on what
kind of C++ entity (if any) a component is. The component types are:
阅读(656) | 评论(0) | 转发(0) |