Difference between revisions of "cpp/container/list"
From cppreference.com
m (Text replace - "container/tdcl" to "container/dcl") |
m (Text replace - "/sidebar" to "/navbar") |
||
Line 1: | Line 1: | ||
{{cpp/title|list}} | {{cpp/title|list}} | ||
− | {{cpp/container/list/ | + | {{cpp/container/list/navbar}} |
{{ddcl | header=list | | {{ddcl | header=list | | ||
template< | template< |
Revision as of 12:29, 15 June 2012
Defined in header <list>
|
||
template< class T, |
||
List is a container which supports fast insertion and removal of elements from anywhere from the container. Fast random access is not supported. It is implemented as double-linked list. Compared to std::forward_list this container provides bidirectional iteration capability while being less space efficient.
std::list
meets the requirements of Template:concept, Template:concept, Template:concept and Template:concept.
Contents |