STL Guide STL详细教程

时间:2013-11-10 03:51:02
【文件属性】:

文件名称:STL Guide STL详细教程

文件大小:3.83MB

文件格式:PDF

更新时间:2013-11-10 03:51:02

STL c++ c

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


网友评论