[ Web Proxy ]
URL:
Viewing: https://ko.cppreference.com/cpp/container/list [Back]  [Original]

std::list - cppreference.com
cppreference.com

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 - .
T CopyAssignable CopyConstructible . (until C++11)
. , MoveConstructible MoveAssignable , . (since C++11)

[edit]

Allocator - (allocator). Allocator . [edit]

value_type T [edit]
allocator_type [edit]
size_type (unsigned int) ( std::size_t) [edit]
difference_type (signed int) ( std::ptrdiff_t) [edit]
reference Allocator::reference (until C++11)
value_type& (since C++11) [edit]
const_reference Allocator::const_reference (until C++11)
const value_type& (since C++11) [edit]
pointer Allocator::pointer (until C++11)
std::allocator_traits<Allocator>::pointer (since C++11) [edit]
const_pointer Allocator::const_pointer (until C++11)
std::allocator_traits<Allocator>::const_pointer (since C++11) [edit]
iterator BidirectionalIterator [edit]
const_iterator (constant) (iterator) [edit]
reverse_iterator std::reverse_iterator<iterator> [edit]
const_reverse_iterator std::reverse_iterator<const_iterator> [edit]

list .
(public member function) [edit]
list .
(public member function) [edit]
.
(public member function) [edit]
.
(public member function) [edit]
.
(public member function) [edit]
.
(public member function) [edit]
.
(public member function) [edit]
Iterator
(iterator) .
(public member function) [edit]
(iterator) .
(public member function) [edit]
(reverse iterator) .
(public member function) [edit]
(reverse iterator) .
(public member function) [edit]
.
(public member function) [edit]
.
(public member function) [edit]
.
(public member function) [edit]
.
(public member function) [edit]
.
(public member function) [edit]
(C++11)
.
(public member function) [edit]

(public member function) [edit]
.
(public member function) [edit]
constructs elements in-place at the end
(public member function) [edit]

(public member function) [edit]

(public member function) [edit]
constructs elements in-place at the beginning
(public member function) [edit]

(public member function) [edit]

(public member function) [edit]

(public member function) [edit]
merges two sorted lists
(public member function) [edit]
moves elements from another list
(public member function) [edit]
removes elements satisfying specific criteria
(public member function) [edit]
reverses the order of the elements
(public member function) [edit]
removes consecutive duplicate elements
(public member function) [edit]
sorts the elements
(public member function) [edit]

lexicographically compares the values in the list
(function template) [edit]
specializes the std::swap algorithm
(function template) [edit]

Web Proxy Viewer  |  New URL  |  Original Page