<list>

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at <list>.

Defines the container template class list and several supporting templates.

#include <list>  

Operators

operator!=Tests if the list object on the left side of the operator is not equal to the list object on the right side.
operator<Tests if the list object on the left side of the operator is less than the list object on the right side.
operator<=Tests if the list object on the left side of the operator is less than or equal to the list object on the right side.
operator==Tests if the list object on the left side of the operator is equal to the list object on the right side.
operator>Tests if the list object on the left side of the operator is greater than the list object on the right side.
operator>=Tests if the list object on the left side of the operator is greater than or equal to the list object on the right side.

Classes

list ClassA template class of sequence containers that maintain their elements in a linear arrangement and allow efficient insertions and deletions at any location within the sequence.

Header Files Reference
Thread Safety in the C++ Standard Library
Standard Template Library

Show: