上QQ阅读APP看书,第一时间看更新
Memory and the C++ Standard Library
The C++ Standard Library provides various classes to allow you to manipulate collections of objects. These classes, called the Standard Template Library (STL), provide a standard way to insert items into collection objects and ways to access the items and iterate through entire collections (called iterators). The STL defines collection classes that are implemented as queues, stacks, or as vectors with random access. These classes will be covered in depth Chapter 5, Using the Standard Library Containers, so in this section we will limit the discussion to just two classes that behave like C++ built in arrays.