Definition at line 47 of file debug/deque.
|
Default constructor creates no elements.
Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 74 of file debug/deque. |
|
Builds a deque from a range.
If the iterators are forward, bidirectional, or random-access, then this will call the elements' copy constructor N times (where N is distance(first,last)) and do no memory reallocation. But if only input iterators are used, then this will do at most 2N calls to the copy constructor, and logN memory reallocations. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 82 of file debug/deque. |
|
The dtor only erases the elements, and note 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 from std::deque< _Tp, _Allocator >. Definition at line 91 of file debug/deque. |
|
Detach all iterators, leaving them singular. Referenced by __gnu_debug::_Safe_sequence_base::~_Safe_sequence_base(). |
|
Detach all singular iterators.
Referenced by std::__debug::deque< _Tp, _Allocator >::erase(), and std::__debug::list< _Tp, _Allocator >::resize(). |
|
For use in _Safe_sequence. |
|
|
Invalidates all iterators Referenced by std::__debug::deque< _Tp, _Allocator >::resize(). |
|
Revalidates all attached singular iterators. This method may be used to validate iterators that were invalidated before (but for some reasion, such as an exception, need to become valid again). Referenced by std::__debug::deque< _Tp, _Allocator >::erase(). |
|
Swap this sequence with the given sequence. This operation also swaps ownership of the iterators, so that when the operation is complete all iterators that originally referenced one container now reference the other container. Referenced by std::__debug::vector< _Tp, _Allocator >::swap(), __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::swap(), std::__debug::set< _Key, _Compare, _Allocator >::swap(), std::__debug::multiset< _Key, _Compare, _Allocator >::swap(), std::__debug::multimap< _Key, _Tp, _Compare, _Allocator >::swap(), std::__debug::map< _Key, _Tp, _Compare, _Allocator >::swap(), __gnu_cxx::__debug::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::swap(), __gnu_cxx::__debug::hash_multiset< _Value, _HashFcn, _EqualKey, _Alloc >::swap(), __gnu_cxx::__debug::hash_multimap< _Value, _Tp, _HashFcn, _EqualKey, _Alloc >::swap(), and __gnu_cxx::__debug::hash_map< _Value, _Tp, _HashFcn, _EqualKey, _Alloc >::swap(). |
|
Transfers all iterators that reference this memory location to this sequence from whatever sequence they are attached to. |
|
Assigns a given value to a deque.
Definition at line 765 of file stl_deque.h. References std::deque< _Tp, _Alloc >::_M_fill_assign(). Referenced by std::__debug::deque< _Tp, _Allocator >::assign(). |
|
Assigns a range to a deque.
Note that the assignment completely changes the deque and that the resulting deque's size is the same as the number of elements assigned. Old data may be lost. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 103 of file debug/deque. References __glibcxx_check_valid_range, __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::deque< _Tp, _Allocator >::assign(). |
|
Provides access to the data contained in the deque.
Definition at line 975 of file stl_deque.h. References std::deque< _Tp, _Alloc >::_M_range_check(). |
|
Provides access to the data contained in the deque.
Definition at line 957 of file stl_deque.h. References std::deque< _Tp, _Alloc >::_M_range_check(). |
|
Returns a read-only (constant) reference to the data at the last element of the deque. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 213 of file debug/deque. References __glibcxx_check_nonempty, and std::deque< _Tp, _Allocator >::back(). |
|
Returns a read/write reference to the data at the last element of the deque. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 206 of file debug/deque. References __glibcxx_check_nonempty, and std::deque< _Tp, _Allocator >::back(). |
|
Returns a read-only (constant) iterator that points to the first element in the deque. Iteration is done in ordinary element order. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 125 of file debug/deque. References std::deque< _Tp, _Allocator >::begin(). |
|
Returns a read/write iterator that points to the first element in the deque. Iteration is done in ordinary element order. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 121 of file debug/deque. References std::deque< _Tp, _Allocator >::begin(). Referenced by std::__debug::deque< _Tp, _Allocator >::erase(), std::__debug::deque< _Tp, _Allocator >::pop_front(), std::__debug::deque< _Tp, _Allocator >::rend(), and std::__debug::deque< _Tp, _Allocator >::resize(). |
|
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 from std::deque< _Tp, _Allocator >. Definition at line 339 of file debug/deque. |
|
Returns true if the deque is empty. (Thus begin() would equal end().) Definition at line 901 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::_M_impl. |
|
Returns a read-only (constant) iterator that points one past the last element in the deque. Iteration is done in ordinary element order. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 133 of file debug/deque. References std::deque< _Tp, _Allocator >::end(). |
|
Returns a read/write iterator that points one past the last element in the deque. Iteration is done in ordinary element order. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 129 of file debug/deque. References std::deque< _Tp, _Allocator >::end(). Referenced by std::__debug::deque< _Tp, _Allocator >::erase(), std::__debug::deque< _Tp, _Allocator >::pop_back(), and std::__debug::deque< _Tp, _Allocator >::rbegin(). |
|
Remove a range of elements.
The user is 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. |
|
Remove element at given position.
The user is 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. Referenced by std::__debug::deque< _Tp, _Allocator >::erase(). |
|
Returns a read-only (constant) reference to the data at the first element of the deque. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 199 of file debug/deque. References __glibcxx_check_nonempty, and std::deque< _Tp, _Allocator >::front(). |
|
Returns a read/write reference to the data at the first element of the deque. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 192 of file debug/deque. References __glibcxx_check_nonempty, and std::deque< _Tp, _Allocator >::front(). |
|
Get a copy of the memory allocation object.
Reimplemented from std::_Deque_base< _Tp, _Allocator >. Definition at line 790 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::get_allocator(). |
|
Inserts a range into the deque.
Definition at line 1144 of file stl_deque.h. References std::deque< _Tp, _Alloc >::_M_insert_dispatch(). |
|
Inserts a number of copies of given data into the deque.
Definition at line 1129 of file stl_deque.h. References std::deque< _Tp, _Alloc >::_M_fill_insert(). |
|
Inserts given value into deque before specified iterator.
Referenced by std::__debug::deque< _Tp, _Allocator >::insert(). |
|
Returns the size() of the largest possible deque. Definition at line 872 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::_M_get_Tp_allocator(). |
|
Subscript access to the data contained in the deque.
Definition at line 932 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::_M_impl. |
|
Subscript access to the data contained in the deque.
Definition at line 917 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::_M_impl. |
|
Removes last element. This is a typical stack operation. It shrinks the deque by one. 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 from std::deque< _Tp, _Allocator >. Definition at line 271 of file debug/deque. References __glibcxx_check_nonempty, __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_M_invalidate(), std::__debug::deque< _Tp, _Allocator >::end(), and std::deque< _Tp, _Allocator >::pop_back(). |
|
Removes first element. This is a typical stack operation. It shrinks the deque by one. 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 from std::deque< _Tp, _Allocator >. Definition at line 262 of file debug/deque. References __glibcxx_check_nonempty, __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_M_invalidate(), std::__debug::deque< _Tp, _Allocator >::begin(), and std::deque< _Tp, _Allocator >::pop_front(). |
|
Add data to the end of the deque.
Definition at line 1053 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::_M_impl, and std::deque< _Tp, _Alloc >::_M_push_back_aux(). Referenced by std::__debug::deque< _Tp, _Allocator >::push_back(). |
|
Add data to the front of the deque.
Definition at line 1032 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::_M_impl, and std::deque< _Tp, _Alloc >::_M_push_front_aux(). Referenced by std::__debug::deque< _Tp, _Allocator >::push_front(). |
|
Returns a read-only (constant) reverse iterator that points to the last element in the deque. Iteration is done in reverse element order. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 141 of file debug/deque. References std::__debug::deque< _Tp, _Allocator >::end(). |
|
Returns a read/write reverse iterator that points to the last element in the deque. Iteration is done in reverse element order. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 137 of file debug/deque. References std::__debug::deque< _Tp, _Allocator >::end(). |
|
Returns a read-only (constant) reverse iterator that points to one before the first element in the deque. Iteration is done in reverse element order. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 149 of file debug/deque. References std::__debug::deque< _Tp, _Allocator >::begin(). |
|
Returns a read/write reverse iterator that points to one before the first element in the deque. Iteration is done in reverse element order. Reimplemented from std::deque< _Tp, _Allocator >. Definition at line 145 of file debug/deque. References std::__debug::deque< _Tp, _Allocator >::begin(). |
|
Resizes the deque to the specified number of elements.
Definition at line 887 of file stl_deque.h. References std::deque< _Tp, _Alloc >::_M_erase_at_end(), std::deque< _Tp, _Alloc >::insert(), and std::deque< _Tp, _Alloc >::size(). Referenced by std::__debug::deque< _Tp, _Allocator >::resize(). |
|
Returns the number of elements in the deque. Definition at line 867 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::_M_impl. Referenced by std::__debug::deque< _Tp, _Allocator >::resize(). |
|
Swaps data with another deque.
Definition at line 1197 of file stl_deque.h. References std::_Deque_base< _Tp, _Alloc >::_M_get_Tp_allocator(), std::_Deque_base< _Tp, _Alloc >::_M_impl, std::__alloc_swap< _Alloc, >::_S_do_it(), and std::swap(). |
|
The list of constant iterators that reference this container.
Definition at line 171 of file safe_base.h. Referenced by __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_M_invalidate_single(), and __gnu_debug::_Safe_sequence< _Sequence >::_M_transfer_iter(). |
|
The list of mutable iterators that reference this container.
Definition at line 168 of file safe_base.h. Referenced by __gnu_debug::_Safe_sequence< _Sequence >::_M_invalidate_if(), __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_M_invalidate_single(), and __gnu_debug::_Safe_sequence< _Sequence >::_M_transfer_iter(). |
|
The container version number. This number may never be 0.
Definition at line 174 of file safe_base.h. Referenced by __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |