std::list
cppreference.com
<tbody>
</tbody>
| <list> .
|
||
template< class T, class Allocator = std::allocator<T> > class list; |
||
std::list . ( ) . . std::forward_list , .
, iterator . iterator .
std::list Container, AllocatorAwareContainer, SequenceContainer ReversibleContainer .
| T | - | .
| ||||
| Allocator | - | (allocator). Allocator .
|
value_type
|
T
|
allocator_type
|
|
size_type
|
(unsigned int) ( std::size_t) |
difference_type
|
(signed int) ( std::ptrdiff_t) |
reference
|
Allocator::reference (until C++11)value_type& (since C++11)
|
const_reference
|
Allocator::const_reference (until C++11)const value_type& (since C++11)
|
pointer
|
Allocator::pointer (until C++11)std::allocator_traits<Allocator>::pointer (since C++11)
|
const_pointer
|
Allocator::const_pointer (until C++11)std::allocator_traits<Allocator>::const_pointer (since C++11)
|
iterator
|
BidirectionalIterator
|
const_iterator
|
(constant) (iterator) |
reverse_iterator
|
std::reverse_iterator<iterator>
|
const_reverse_iterator
|
std::reverse_iterator<const_iterator>
|
list . (public member function) | |
list . (public member function) | |
| . (public member function) | |
| . (public member function) | |
| . (public member function) | |
| . (public member function) | |
| . (public member function) | |
Iterator | |
| (iterator) . (public member function) | |
| (iterator) . (public member function) | |
| (reverse iterator) . (public member function) | |
| (reverse iterator) . (public member function) | |
| . (public member function) | |
| . (public member function) | |
| . (public member function) | |
| . (public member function) | |
| . (public member function) | |
(C++11) |
. (public member function) |
| (public member function) | |
| . (public member function) | |
(C++11) |
constructs elements in-place at the end (public member function) |
| (public member function) | |
| (public member function) | |
(C++11) |
constructs elements in-place at the beginning (public member function) |
| (public member function) | |
| (public member function) | |
| (public member function) | |
| merges two sorted lists (public member function) | |
moves elements from another list (public member function) | |
| removes elements satisfying specific criteria (public member function) | |
| reverses the order of the elements (public member function) | |
| removes consecutive duplicate elements (public member function) | |
| sorts the elements (public member function) | |
| lexicographically compares the values in the list (function template) | |
| specializes the std::swap algorithm (function template) |