Jump to content

C++ Language/Std/Stl/CollectionClasses/SequenceCollections/List

From Wikibooks, open books for an open world

A "list" (an instance of class std::list<>) is a doubly-linked-list. A list doesn't provide any random-access indexing. In order to access a particular item, you need to iterate to it.

Additional information about STL lists (includes interactive examples)