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 queue(Container) -> queue<typename Container::value_type, Container>; // C++17
76 queue(Container, Allocator) -> queue<typename Container::value_type, Container>; // C++17
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 bool operator>=(const queue<T, Container>& x,const queue<T, Container>& y);
94 bool operator<=(const queue<T, Container>& x,const queue<T, Container>& y);
97 void swap(queue<T, Container>& x, queue<T, Container>& y)
201 template <class _Tp, class _Container = deque<_Tp> > class _LIBCPP_TEMPLATE_VIS queue;
206 operator==(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y);
211 operator< (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y);
214 class _LIBCPP_TEMPLATE_VIS queue
229 queue()
234 queue(const queue& __q) : c(__q.c) {}
237 queue& operator=(const queue& __q) {c = __q.c; return *this;}
241 queue(queue&& __q)
246 queue& operator=(queue&& __q)
252 explicit queue(const container_type& __c) : c(__c) {}
255 explicit queue(container_type&& __c) : c(_VSTD::move(__c)) {}
259 explicit queue(const _Alloc& __a,
265 queue(const queue& __q, const _Alloc& __a,
271 queue(const container_type& __c, const _Alloc& __a,
278 queue(container_type&& __c, const _Alloc& __a,
284 queue(queue&& __q, const _Alloc& __a,
324 void swap(queue& __q)
335 operator==(const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
341 operator< (const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
348 queue(_Container)
349 -> queue<typename _Container::value_type, _Container>;
356 queue(_Container, _Alloc)
357 -> queue<typename _Container::value_type, _Container>;
363 operator==(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
371 operator< (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
379 operator!=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
387 operator> (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
395 operator>=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
403 operator<=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
414 swap(queue<_Tp, _Container>& __x, queue<_Tp, _Container>& __y)
421 struct _LIBCPP_TEMPLATE_VIS uses_allocator<queue<_Tp, _Container>, _Alloc>