#include <stl_list.h>
Inheritance diagram for _GLIBCXX_STD::list< _Tp, _Alloc >:
Public Types | |
typedef _Tp | value_type |
typedef _Alloc::pointer | pointer |
typedef _Alloc::const_pointer | const_pointer |
typedef _Alloc::reference | reference |
typedef _Alloc::const_reference | const_reference |
typedef _List_iterator< _Tp > | iterator |
typedef _List_const_iterator< _Tp > | const_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef _Base::allocator_type | allocator_type |
Public Member Functions | |
list (const allocator_type &__a=allocator_type()) | |
Default constructor creates no elements. | |
list (size_type __n, const value_type &__value, const allocator_type &__a=allocator_type()) | |
Create a list with copies of an exemplar element. | |
list (size_type __n) | |
Create a list with default elements. | |
list (const list &__x) | |
List copy constructor. | |
template<typename _InputIterator> | list (_InputIterator __first, _InputIterator __last, const allocator_type &__a=allocator_type()) |
Builds a list from a range. | |
list & | operator= (const list &__x) |
List assignment operator. | |
void | assign (size_type __n, const value_type &__val) |
Assigns a given value to a list. | |
template<typename _InputIterator> void | assign (_InputIterator __first, _InputIterator __last) |
Assigns a range to a list. | |
allocator_type | get_allocator () const |
Get a copy of the memory allocation object. | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
bool | empty () const |
size_type | size () const |
size_type | max_size () const |
void | resize (size_type __new_size, const value_type &__x) |
Resizes the list to the specified number of elements. | |
void | resize (size_type __new_size) |
Resizes the list to the specified number of elements. | |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | push_front (const value_type &__x) |
Add data to the front of the list. | |
void | pop_front () |
Removes first element. | |
void | push_back (const value_type &__x) |
Add data to the end of the list. | |
void | pop_back () |
Removes last element. | |
iterator | insert (iterator __position, const value_type &__x) |
Inserts given value into list before specified iterator. | |
void | insert (iterator __position, size_type __n, const value_type &__x) |
Inserts a number of copies of given data into the list. | |
template<typename _InputIterator> void | insert (iterator __position, _InputIterator __first, _InputIterator __last) |
Inserts a range into the list. | |
iterator | erase (iterator __position) |
Remove element at given position. | |
iterator | erase (iterator __first, iterator __last) |
Remove a range of elements. | |
void | swap (list &__x) |
Swaps data with another list. | |
void | clear () |
void | splice (iterator __position, list &__x) |
Insert contents of another list. | |
void | splice (iterator __position, list &, iterator __i) |
Insert element from another list. | |
void | splice (iterator __position, list &, iterator __first, iterator __last) |
Insert range from another list. | |
void | remove (const _Tp &__value) |
Remove all elements equal to value. | |
template<typename _Predicate> void | remove_if (_Predicate) |
Remove all elements satisfying a predicate. | |
void | unique () |
Remove consecutive duplicate elements. | |
template<typename _BinaryPredicate> void | unique (_BinaryPredicate) |
Remove consecutive elements satisfying a predicate. | |
void | merge (list &__x) |
Merge sorted lists. | |
template<typename _StrictWeakOrdering> void | merge (list &, _StrictWeakOrdering) |
Merge sorted lists according to comparison function. | |
void | reverse () |
Reverse the elements in list. | |
void | sort () |
Sort the elements. | |
template<typename _StrictWeakOrdering> void | sort (_StrictWeakOrdering) |
Sort the elements according to comparison function. | |
Protected Types | |
typedef _List_node< _Tp > | _Node |
Protected Member Functions | |
_Node * | _M_create_node (const value_type &__x) |
_Node * | _M_create_node () |
template<typename _Integer> void | _M_assign_dispatch (_Integer __n, _Integer __val, __true_type) |
template<typename _InputIterator> void | _M_assign_dispatch (_InputIterator __first, _InputIterator __last, __false_type) |
void | _M_fill_assign (size_type __n, const value_type &__val) |
template<typename _Integer> void | _M_insert_dispatch (iterator __pos, _Integer __n, _Integer __x, __true_type) |
template<typename _InputIterator> void | _M_insert_dispatch (iterator __pos, _InputIterator __first, _InputIterator __last, __false_type) |
void | _M_fill_insert (iterator __pos, size_type __n, const value_type &__x) |
void | _M_transfer (iterator __position, iterator __first, iterator __last) |
void | _M_insert (iterator __position, const value_type &__x) |
void | _M_erase (iterator __position) |
Private Member Functions | |
__glibcxx_class_requires (_Tp, _SGIAssignableConcept) typedef _List_base< _Tp | |
Private Attributes | |
_Alloc | _Base |
Meets the requirements of a container, a reversible container, and a sequence, including the optional sequence requirements with the exception of at
and operator
[].
This is a doubly linked list. Traversal up and down the list requires linear time, but adding and removing elements (or nodes) is done in constant time, regardless of where the change takes place. Unlike std::vector and std::deque, random-access iterators are not provided, so subscripting ( [] ) access is not allowed. For algorithms which only need sequential access, this lack makes no difference.
Also unlike the other standard containers, std::list provides specialized algorithms unique to linked lists, such as splicing, sorting, and in-place reversal.
Definition at line 389 of file stl_list.h.
|
Definition at line 413 of file stl_list.h. |
|
Reimplemented from _GLIBCXX_STD::_List_base< _Tp, _Alloc >. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 408 of file stl_list.h. |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 403 of file stl_list.h. |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 399 of file stl_list.h. |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 401 of file stl_list.h. |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 404 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::rbegin(), and _GLIBCXX_STD::list< _Tp, _Allocator >::rend(). |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 407 of file stl_list.h. |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 402 of file stl_list.h. |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 398 of file stl_list.h. |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 400 of file stl_list.h. |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 405 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::rbegin(), and _GLIBCXX_STD::list< _Tp, _Allocator >::rend(). |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 406 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::max_size(). |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 397 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::list(), and _GLIBCXX_STD::list< _Tp, _Allocator >::resize(). |
|
Default constructor creates no elements.
Definition at line 477 of file stl_list.h. |
|
Create a list with copies of an exemplar element.
Definition at line 487 of file stl_list.h. |
|
Create a list with default elements.
Definition at line 500 of file stl_list.h. |
|
List copy constructor.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 511 of file stl_list.h. |
|
Builds a list from a range.
Definition at line 530 of file stl_list.h. |
|
|
|
Definition at line 156 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), _GLIBCXX_STD::list< _Tp, _Alloc >::end(), _GLIBCXX_STD::list< _Tp, _Alloc >::erase(), and _GLIBCXX_STD::list< _Tp, _Alloc >::insert(). |
|
Definition at line 1103 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::assign(). |
|
Definition at line 455 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::_M_insert(), and _GLIBCXX_STD::list< _Tp, _Alloc >::insert(). |
|
Definition at line 433 of file stl_list.h. |
|
|
Definition at line 141 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), _GLIBCXX_STD::list< _Tp, _Alloc >::end(), _GLIBCXX_STD::list< _Tp, _Alloc >::erase(), and _GLIBCXX_STD::list< _Tp, _Alloc >::insert(). Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::_M_assign_dispatch(), and _GLIBCXX_STD::list< _Tp, _Allocator >::assign(). |
|
Definition at line 1147 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::_M_insert_dispatch(), and _GLIBCXX_STD::list< _Tp, _Allocator >::insert(). |
|
|
Definition at line 1136 of file stl_list.h. |
|
Definition at line 1126 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::insert(). |
|
Definition at line 1156 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::merge(), and _GLIBCXX_STD::list< _Tp, _Allocator >::splice(). |
|
Assigns a range to a list.
Note that the assignment completely changes the list and that the resulting list's size is the same as the number of elements assigned. Old data may be lost. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 581 of file stl_list.h. |
|
Assigns a given value to a list.
Definition at line 564 of file stl_list.h. |
|
Returns a read-only (constant) reference to the data at the last element of the list. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 739 of file stl_list.h. |
|
Returns a read/write reference to the data at the last element of the list. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 731 of file stl_list.h. |
|
Returns a read-only (constant) iterator that points to the first element in the list. Iteration is done in ordinary element order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 608 of file stl_list.h. |
|
Returns a read/write iterator that points to the first element in the list. Iteration is done in ordinary element order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 599 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::_M_assign_dispatch(), _GLIBCXX_STD::list< _Tp, _Alloc >::_M_fill_assign(), _GLIBCXX_STD::list< _Tp, _Allocator >::front(), _GLIBCXX_STD::list< _Tp, _Allocator >::list(), _GLIBCXX_STD::list< _Tp, _Alloc >::merge(), _GLIBCXX_STD::list< _Tp, _Alloc >::operator=(), _GLIBCXX_STD::operator==(), _GLIBCXX_STD::list< _Tp, _Allocator >::pop_front(), _GLIBCXX_STD::list< _Tp, _Allocator >::push_front(), _GLIBCXX_STD::list< _Tp, _Alloc >::remove_if(), _GLIBCXX_STD::list< _Tp, _Allocator >::rend(), _GLIBCXX_STD::list< _Tp, _Alloc >::resize(), _GLIBCXX_STD::list< _Tp, _Allocator >::size(), _GLIBCXX_STD::list< _Tp, _Alloc >::sort(), _GLIBCXX_STD::list< _Tp, _Allocator >::splice(), and _GLIBCXX_STD::list< _Tp, _Alloc >::unique(). |
|
Erases all the elements. Note that this function only erases the elements, and that if the elements themselves are pointers, the pointed-to memory is not touched in any way. Managing the pointer is the user's responsibilty. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 922 of file stl_list.h. |
|
Returns true if the list is empty. (Thus begin() would equal end().) Definition at line 670 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::sort(), and _GLIBCXX_STD::list< _Tp, _Allocator >::splice(). |
|
Returns a read-only (constant) iterator that points one past the last element in the list. Iteration is done in ordinary element order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 625 of file stl_list.h. |
|
Returns a read/write iterator that points one past the last element in the list. Iteration is done in ordinary element order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 617 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::_M_assign_dispatch(), _GLIBCXX_STD::list< _Tp, _Alloc >::_M_fill_assign(), _GLIBCXX_STD::list< _Tp, _Allocator >::back(), _GLIBCXX_STD::list< _Tp, _Allocator >::list(), _GLIBCXX_STD::list< _Tp, _Alloc >::merge(), _GLIBCXX_STD::list< _Tp, _Alloc >::operator=(), _GLIBCXX_STD::operator==(), _GLIBCXX_STD::list< _Tp, _Allocator >::push_back(), _GLIBCXX_STD::list< _Tp, _Allocator >::rbegin(), _GLIBCXX_STD::list< _Tp, _Alloc >::remove_if(), _GLIBCXX_STD::list< _Tp, _Alloc >::resize(), _GLIBCXX_STD::list< _Tp, _Allocator >::size(), _GLIBCXX_STD::list< _Tp, _Allocator >::splice(), and _GLIBCXX_STD::list< _Tp, _Alloc >::unique(). |
|
Remove a range of elements.
Due to the nature of a list this operation can be done in constant time, and only invalidates iterators/references to the element being removed. The user is also cautioned that this function only erases the elements, and that if the elements themselves are pointers, the pointed-to memory is not touched in any way. Managing the pointer is the user's responsibilty. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 895 of file stl_list.h. |
|
Remove element at given position.
Due to the nature of a list this operation can be done in constant time, and only invalidates iterators/references to the element being removed. The user is also cautioned that this function only erases the element, and that if the element is itself a pointer, the pointed-to memory is not touched in any way. Managing the pointer is the user's responsibilty. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 95 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::_M_erase(). Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::_M_assign_dispatch(), _GLIBCXX_STD::list< _Tp, _Alloc >::_M_fill_assign(), _GLIBCXX_STD::list< _Tp, _Allocator >::erase(), _GLIBCXX_STD::list< _Tp, _Alloc >::operator=(), and _GLIBCXX_STD::list< _Tp, _Alloc >::resize(). |
|
Returns a read-only (constant) reference to the data at the first element of the list. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 723 of file stl_list.h. |
|
Returns a read/write reference to the data at the first element of the list. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 715 of file stl_list.h. |
|
Get a copy of the memory allocation object.
Reimplemented from _GLIBCXX_STD::_List_base< _Tp, _Alloc >. Definition at line 590 of file stl_list.h. |
|
Inserts a range into the list.
Due to the nature of a list this operation can be done in constant time, and does not invalidate iterators and references. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 849 of file stl_list.h. |
|
Inserts a number of copies of given data into the list.
Due to the nature of a list this operation can be done in constant time, and does not invalidate iterators and references. Definition at line 830 of file stl_list.h. |
|
Inserts given value into list before specified iterator.
Definition at line 85 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::_M_create_node(). Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::_M_assign_dispatch(), _GLIBCXX_STD::list< _Tp, _Alloc >::_M_fill_assign(), _GLIBCXX_STD::list< _Tp, _Allocator >::list(), _GLIBCXX_STD::list< _Tp, _Alloc >::operator=(), and _GLIBCXX_STD::list< _Tp, _Alloc >::resize(). |
|
Returns the size() of the largest possible list. Definition at line 680 of file stl_list.h. |
|
Merge sorted lists according to comparison function.
Definition at line 313 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::_M_transfer(), _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::list< _Tp, _Alloc >::end(). |
|
Merge sorted lists.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 210 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::_M_transfer(), _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::list< _Tp, _Alloc >::end(). Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::sort(). |
|
List assignment operator.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 120 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), _GLIBCXX_STD::list< _Tp, _Alloc >::end(), _GLIBCXX_STD::list< _Tp, _Alloc >::erase(), and _GLIBCXX_STD::list< _Tp, _Alloc >::insert(). |
|
Removes last element. This is a typical stack operation. It shrinks the list by one. Due to the nature of a list this operation can be done in constant time, and only invalidates iterators/references to the element being removed. Note that no data is returned, and if the last element's data is needed, it should be retrieved before pop_back() is called. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 799 of file stl_list.h. |
|
Removes first element. This is a typical stack operation. It shrinks the list by one. Due to the nature of a list this operation can be done in constant time, and only invalidates iterators/references to the element being removed. Note that no data is returned, and if the first element's data is needed, it should be retrieved before pop_front() is called. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 770 of file stl_list.h. |
|
Add data to the end of the list.
Definition at line 784 of file stl_list.h. |
|
Add data to the front of the list.
Definition at line 754 of file stl_list.h. |
|
Returns a read-only (constant) reverse iterator that points to the last element in the list. Iteration is done in reverse element order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 643 of file stl_list.h. |
|
Returns a read/write reverse iterator that points to the last element in the list. Iteration is done in reverse element order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 634 of file stl_list.h. |
|
Remove all elements equal to value.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. |
|
Remove all elements satisfying a predicate.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 275 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::_M_erase(), _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::list< _Tp, _Alloc >::end(). |
|
Returns a read-only (constant) reverse iterator that points to one before the first element in the list. Iteration is done in reverse element order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 661 of file stl_list.h. |
|
Returns a read/write reverse iterator that points to one before the first element in the list. Iteration is done in reverse element order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 652 of file stl_list.h. |
|
Resizes the list to the specified number of elements.
Definition at line 706 of file stl_list.h. |
|
Resizes the list to the specified number of elements.
Definition at line 105 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), _GLIBCXX_STD::list< _Tp, _Alloc >::end(), _GLIBCXX_STD::list< _Tp, _Alloc >::erase(), and _GLIBCXX_STD::list< _Tp, _Alloc >::insert(). Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::resize(). |
|
Reverse the elements in list. Reverse the order of elements in the list in linear time. Definition at line 1075 of file stl_list.h. |
|
Returns the number of elements in the list. Definition at line 675 of file stl_list.h. |
|
Sort the elements according to comparison function. Sorts the elements of this list in NlogN time. Equivalent elements remain in list order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 341 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), _GLIBCXX_STD::list< _Tp, _Alloc >::empty(), _GLIBCXX_STD::list< _Tp, _Alloc >::merge(), _GLIBCXX_STD::list< _Tp, _Alloc >::splice(), and _GLIBCXX_STD::list< _Tp, _Alloc >::swap(). |
|
Sort the elements. Sorts the elements of this list in NlogN time. Equivalent elements remain in list order. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 237 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), _GLIBCXX_STD::list< _Tp, _Alloc >::empty(), _GLIBCXX_STD::list< _Tp, _Alloc >::merge(), _GLIBCXX_STD::list< _Tp, _Alloc >::splice(), and _GLIBCXX_STD::list< _Tp, _Alloc >::swap(). |
|
Insert range from another list.
Undefined if position is in [first,last). Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 977 of file stl_list.h. |
|
Insert element from another list.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 955 of file stl_list.h. |
|
Insert contents of another list.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 939 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::sort(). |
|
Swaps data with another list.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 912 of file stl_list.h. Referenced by _GLIBCXX_STD::list< _Tp, _Alloc >::sort(), and _GLIBCXX_STD::swap(). |
|
Remove consecutive elements satisfying a predicate.
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 293 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::_M_erase(), _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::list< _Tp, _Alloc >::end(). |
|
Remove consecutive duplicate elements. For each consecutive set of elements with the same value, remove all but the first one. Remaining elements stay in list order. Note that this function only erases the elements, and that if the elements themselves are pointers, the pointed-to memory is not touched in any way. Managing the pointer is the user's responsibilty. Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 190 of file list.tcc. References _GLIBCXX_STD::list< _Tp, _Alloc >::_M_erase(), _GLIBCXX_STD::list< _Tp, _Alloc >::begin(), and _GLIBCXX_STD::list< _Tp, _Alloc >::end(). |
|
Reimplemented in __gnu_debug_def::list< _Tp, _Allocator >. Definition at line 394 of file stl_list.h. |