Lines Matching refs:queue
2 //===--------------------------- queue ------------------------------------===//
15 queue synopsis
21 class queue
34 queue() = default;
35 ~queue() = default;
37 queue(const queue& q) = default;
38 queue(queue&& q) = default;
40 queue& operator=(const queue& q) = default;
41 queue& operator=(queue&& q) = default;
43 explicit queue(const container_type& c);
44 explicit queue(container_type&& c)
46 explicit queue(const Alloc& a);
48 queue(const container_type& c, const Alloc& a);
50 queue(container_type&& c, const Alloc& a);
52 queue(const queue& q, const Alloc& a);
54 queue(queue&& q, const Alloc& a);
69 void swap(queue& q) noexcept(is_nothrow_swappable_v<Container>)
73 bool operator==(const queue<T, Container>& x,const queue<T, Container>& y);
76 bool operator< (const queue<T, Container>& x,const queue<T, Container>& y);
79 bool operator!=(const queue<T, Container>& x,const queue<T, Container>& y);
82 bool operator> (const queue<T, Container>& x,const queue<T, Container>& y);
85 bool operator>=(const queue<T, Container>& x,const queue<T, Container>& y);
88 bool operator<=(const queue<T, Container>& x,const queue<T, Container>& y);
91 void swap(queue<T, Container>& x, queue<T, Container>& y)
181 template <class _Tp, class _Container = deque<_Tp> > class _LIBCPP_TEMPLATE_VIS queue;
186 operator==(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y);
191 operator< (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y);
194 class _LIBCPP_TEMPLATE_VIS queue
209 queue()
214 queue(const queue& __q) : c(__q.c) {}
217 queue& operator=(const queue& __q) {c = __q.c; return *this;}
221 queue(queue&& __q)
226 queue& operator=(queue&& __q)
232 explicit queue(const container_type& __c) : c(__c) {}
235 explicit queue(container_type&& __c) : c(_VSTD::move(__c)) {}
239 explicit queue(const _Alloc& __a,
245 queue(const queue& __q, const _Alloc& __a,
251 queue(const container_type& __c, const _Alloc& __a,
258 queue(container_type&& __c, const _Alloc& __a,
264 queue(queue&& __q, const _Alloc& __a,
304 void swap(queue& __q)
315 operator==(const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
321 operator< (const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
327 operator==(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
335 operator< (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
343 operator!=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
351 operator> (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
359 operator>=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
367 operator<=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
378 swap(queue<_Tp, _Container>& __x, queue<_Tp, _Container>& __y)
385 struct _LIBCPP_TEMPLATE_VIS uses_allocator<queue<_Tp, _Container>, _Alloc>