Lines Matching refs:deque
2 //===---------------------------- deque -----------------------------------===//
15 deque synopsis
21 class deque
41 deque() noexcept(is_nothrow_default_constructible<allocator_type>::value);
42 explicit deque(const allocator_type& a);
43 explicit deque(size_type n);
44 explicit deque(size_type n, const allocator_type& a); // C++14
45 deque(size_type n, const value_type& v);
46 deque(size_type n, const value_type& v, const allocator_type& a);
48 deque(InputIterator f, InputIterator l);
50 deque(InputIterator f, InputIterator l, const allocator_type& a);
51 deque(const deque& c);
52 deque(deque&& c)
54 deque(initializer_list<value_type> il, const Allocator& a = allocator_type());
55 deque(const deque& c, const allocator_type& a);
56 deque(deque&& c, const allocator_type& a);
57 ~deque();
59 deque& operator=(const deque& c);
60 deque& operator=(deque&& c)
64 deque& operator=(initializer_list<value_type> il);
126 void swap(deque& c)
133 bool operator==(const deque<T,Allocator>& x, const deque<T,Allocator>& y);
135 bool operator< (const deque<T,Allocator>& x, const deque<T,Allocator>& y);
137 bool operator!=(const deque<T,Allocator>& x, const deque<T,Allocator>& y);
139 bool operator> (const deque<T,Allocator>& x, const deque<T,Allocator>& y);
141 bool operator>=(const deque<T,Allocator>& x, const deque<T,Allocator>& y);
143 bool operator<=(const deque<T,Allocator>& x, const deque<T,Allocator>& y);
147 void swap(deque<T,Allocator>& x, deque<T,Allocator>& y)
418 template <class _Tp, class _Ap> friend class _LIBCPP_TYPE_VIS_ONLY deque;
882 throw length_error("deque");
891 throw out_of_range("deque");
1182 class _LIBCPP_TYPE_VIS_ONLY deque
1208 deque()
1211 _LIBCPP_INLINE_VISIBILITY explicit deque(const allocator_type& __a) : __base(__a) {}
1212 explicit deque(size_type __n);
1214 explicit deque(size_type __n, const _Allocator& __a);
1216 deque(size_type __n, const value_type& __v);
1217 deque(size_type __n, const value_type& __v, const allocator_type& __a);
1219 deque(_InputIter __f, _InputIter __l,
1222 deque(_InputIter __f, _InputIter __l, const allocator_type& __a,
1224 deque(const deque& __c);
1225 deque(const deque& __c, const allocator_type& __a);
1227 deque(initializer_list<value_type> __il);
1228 deque(initializer_list<value_type> __il, const allocator_type& __a);
1231 deque& operator=(const deque& __c);
1234 deque& operator=(initializer_list<value_type> __il) {assign(__il); return *this;}
1238 deque(deque&& __c) _NOEXCEPT_(is_nothrow_move_constructible<__base>::value);
1239 deque(deque&& __c, const allocator_type& __a);
1240 deque& operator=(deque&& __c)
1351 void swap(deque& __c)
1406 void __copy_assign_alloc(const deque& __c)
1411 void __copy_assign_alloc(const deque& __c, true_type)
1423 void __copy_assign_alloc(const deque&, false_type)
1426 void __move_assign(deque& __c, true_type)
1428 void __move_assign(deque& __c, false_type);
1432 deque<_Tp, _Allocator>::deque(size_type __n)
1440 deque<_Tp, _Allocator>::deque(size_type __n, const _Allocator& __a)
1449 deque<_Tp, _Allocator>::deque(size_type __n, const value_type& __v)
1456 deque<_Tp, _Allocator>::deque(size_type __n, const value_type& __v, const allocator_type& __a)
1465 deque<_Tp, _Allocator>::deque(_InputIter __f, _InputIter __l,
1473 deque<_Tp, _Allocator>::deque(_InputIter __f, _InputIter __l, const allocator_type& __a,
1481 deque<_Tp, _Allocator>::deque(const deque& __c)
1488 deque<_Tp, _Allocator>::deque(const deque& __c, const allocator_type& __a)
1497 deque<_Tp, _Allocator>::deque(initializer_list<value_type> __il)
1503 deque<_Tp, _Allocator>::deque(initializer_list<value_type> __il, const allocator_type& __a)
1512 deque<_Tp, _Allocator>&
1513 deque<_Tp, _Allocator>::operator=(const deque& __c)
1527 deque<_Tp, _Allocator>::deque(deque&& __c)
1535 deque<_Tp, _Allocator>::deque(deque&& __c, const allocator_type& __a)
1547 deque<_Tp, _Allocator>&
1548 deque<_Tp, _Allocator>::operator=(deque&& __c)
1559 deque<_Tp, _Allocator>::__move_assign(deque& __c, false_type)
1572 deque<_Tp, _Allocator>::__move_assign(deque& __c, true_type)
1585 deque<_Tp, _Allocator>::assign(_InputIter __f, _InputIter __l,
1602 deque<_Tp, _Allocator>::assign(_RAIter __f, _RAIter __l,
1617 deque<_Tp, _Allocator>::assign(size_type __n, const value_type& __v)
1632 deque<_Tp, _Allocator>::get_allocator() const _NOEXCEPT
1639 deque<_Tp, _Allocator>::resize(size_type __n)
1649 deque<_Tp, _Allocator>::resize(size_type __n, const value_type& __v)
1659 deque<_Tp, _Allocator>::shrink_to_fit() _NOEXCEPT
1690 typename deque<_Tp, _Allocator>::reference
1691 deque<_Tp, _Allocator>::operator[](size_type __i)
1699 typename deque<_Tp, _Allocator>::const_reference
1700 deque<_Tp, _Allocator>::operator[](size_type __i) const
1708 typename deque<_Tp, _Allocator>::reference
1709 deque<_Tp, _Allocator>::at(size_type __i)
1719 typename deque<_Tp, _Allocator>::const_reference
1720 deque<_Tp, _Allocator>::at(size_type __i) const
1730 typename deque<_Tp, _Allocator>::reference
1731 deque<_Tp, _Allocator>::front()
1739 typename deque<_Tp, _Allocator>::const_reference
1740 deque<_Tp, _Allocator>::front() const
1748 typename deque<_Tp, _Allocator>::reference
1749 deque<_Tp, _Allocator>::back()
1757 typename deque<_Tp, _Allocator>::const_reference
1758 deque<_Tp, _Allocator>::back() const
1766 deque<_Tp, _Allocator>::push_back(const value_type& __v)
1780 deque<_Tp, _Allocator>::push_back(value_type&& __v)
1795 deque<_Tp, _Allocator>::emplace_back(_Args&&... __args)
1810 deque<_Tp, _Allocator>::push_front(const value_type& __v)
1825 deque<_Tp, _Allocator>::push_front(value_type&& __v)
1841 deque<_Tp, _Allocator>::emplace_front(_Args&&... __args)
1856 typename deque<_Tp, _Allocator>::iterator
1857 deque<_Tp, _Allocator>::insert(const_iterator __p, const value_type& __v)
1919 typename deque<_Tp, _Allocator>::iterator
1920 deque<_Tp, _Allocator>::insert(const_iterator __p, value_type&& __v)
1977 typename deque<_Tp, _Allocator>::iterator
1978 deque<_Tp, _Allocator>::emplace(const_iterator __p, _Args&&... __args)
2037 typename deque<_Tp, _Allocator>::iterator
2038 deque<_Tp, _Allocator>::insert(const_iterator __p, size_type __n, const value_type& __v)
2098 typename deque<_Tp, _Allocator>::iterator
2099 deque<_Tp, _Allocator>::insert(const_iterator __p, _InputIter __f, _InputIter __l,
2111 typename deque<_Tp, _Allocator>::iterator
2112 deque<_Tp, _Allocator>::insert(const_iterator __p, _BiIter __f, _BiIter __l,
2183 deque<_Tp, _Allocator>::__append(_InpIter __f, _InpIter __l,
2194 deque<_Tp, _Allocator>::__append(_ForIter __f, _ForIter __l,
2209 deque<_Tp, _Allocator>::__append(size_type __n)
2222 deque<_Tp, _Allocator>::__append(size_type __n, const value_type& __v)
2237 deque<_Tp, _Allocator>::__add_front_capacity()
2302 deque<_Tp, _Allocator>::__add_front_capacity(size_type __n)
2387 deque<_Tp, _Allocator>::__add_back_capacity()
2447 deque<_Tp, _Allocator>::__add_back_capacity(size_type __n)
2532 deque<_Tp, _Allocator>::pop_front()
2549 deque<_Tp, _Allocator>::pop_back()
2567 typename deque<_Tp, _Allocator>::iterator
2568 deque<_Tp, _Allocator>::__move_and_check(iterator __f, iterator __l, iterator __r,
2597 typename deque<_Tp, _Allocator>::iterator
2598 deque<_Tp, _Allocator>::__move_backward_and_check(iterator __f, iterator __l, iterator __r,
2629 deque<_Tp, _Allocator>::__move_construct_and_check(iterator __f, iterator __l,
2660 deque<_Tp, _Allocator>::__move_construct_backward_and_check(iterator __f, iterator __l,
2697 typename deque<_Tp, _Allocator>::iterator
2698 deque<_Tp, _Allocator>::erase(const_iterator __f)
2733 typename deque<_Tp, _Allocator>::iterator
2734 deque<_Tp, _Allocator>::erase(const_iterator __f, const_iterator __l)
2775 deque<_Tp, _Allocator>::__erase_to_end(const_iterator __f)
2798 deque<_Tp, _Allocator>::swap(deque& __c)
2808 deque<_Tp, _Allocator>::clear() _NOEXCEPT
2816 operator==(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
2818 const typename deque<_Tp, _Allocator>::size_type __sz = __x.size();
2825 operator!=(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
2833 operator< (const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
2841 operator> (const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
2849 operator>=(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
2857 operator<=(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
2865 swap(deque<_Tp, _Allocator>& __x, deque<_Tp, _Allocator>& __y)