list Class Members
Reference
Constructors
Constructs a list of a specific size or with elements of a specific value or with a specific allocator or as a copy of some other list. |
Typedefs
A type that represents the allocator class for a list object. |
|
A type that provides a bidirectional iterator that can read a const element in a list. |
|
A type that provides a pointer to a const element in a list. |
|
A type that provides a reference to a const element stored in a list for reading and performing const operations. |
|
A type that provides a bidirectional iterator that can read any const element in a list. |
|
A type that provides the difference between two iterators that refer to elements within the same list. |
|
A type that provides a bidirectional iterator that can read or modify any element in a list. |
|
A type that provides a pointer to an element in a list. |
|
A type that provides a reference to a const element stored in a list for reading and performing const operations. |
|
A type that provides a bidirectional iterator that can read or modify an element in a reversed list. |
|
A type that counts the number of elements in a list. |
|
A type that represents the data type stored in a list. |
Member Functions
Erases elements from a list and copies a new set of elements to the target list. |
|
Returns a reference to the last element of a list. |
|
Returns an iterator addressing the first element in a list. |
|
Erases all the elements of a list. |
|
Tests if a list is empty. |
|
Returns an iterator that addresses the location succeeding the last element in a list. |
|
Removes an element or a range of elements in a list from specified positions. |
|
Returns a reference to the first element in a list. |
|
Returns a copy of the allocator object used to construct a list. |
|
Inserts an element or a number of elements or a range of elements into a list at a specified position. |
|
Returns the maximum length of a list. |
|
Removes the elements from the argument list, inserts them into the target list, and orders the new, combined set of elements in ascending order or in some other specified order. |
|
Deletes the element at the end of a list. |
|
Deletes the element at the beginning of a list. |
|
Adds an element to the end of a list. |
|
Adds an element to the beginning of a list. |
|
Returns an iterator addressing the first element in a reversed list. |
|
Erases elements in a list that match a specified value. |
|
Erases elements from the list for which a specified predicate is satisfied. |
|
Returns an iterator that addresses the location succeeding the last element in a reversed list. |
|
Specifies a new size for a list. |
|
Reverses the order in which the elements occur in a list. |
|
Returns the number of elements in a list. |
|
Arranges the elements of a list in ascending order or with respect to some other order relation. |
|
Removes elements from the argument list and inserts them into the target list. |
|
Exchanges the elements of two lists. |
|
Removes adjacent duplicate elements or adjacent elements that satisfy some other binary predicate from the list. |