1. 首页
  2. 编程语言
  3. C++ 
  4. STL Guide STL详细教程

STL Guide STL详细教程

上传者: 2021-04-21 23:56:48上传 PDF文件 3.83MB 热度 34次
STL详细说明书 Container Category: containers Component type: concept Description A Container is an object that stores other objects (its elements), and that has methods for accessing its elements. In particular, every type that is a model of Container has an associated iterator type that can be used to iterate through the Container's elements. There is no guarantee that the elements of a Container are stored in any definite order; the order might, in fact, be different upon each iteration through the Container. Nor is there a guarantee that more than one iterator into a Container may be active at any one time. (Specific types of Containers, such as Forward Container, do provide such guarantees.) A Container "owns" its elements: the lifetime of an element stored in a container cannot exceed that of the Container itself. [1] Refinement of
下载地址
用户评论