Lines Matching refs:queue

2 //===--------------------------- queue ------------------------------------===//
14 queue synopsis
20 class queue
33 queue() = default;
34 ~queue() = default;
36 queue(const queue& q) = default;
37 queue(queue&& q) = default;
39 queue& operator=(const queue& q) = default;
40 queue& operator=(queue&& q) = default;
42 explicit queue(const container_type& c);
43 explicit queue(container_type&& c)
45 explicit queue(const Alloc& a);
47 queue(const container_type& c, const Alloc& a);
49 queue(container_type&& c, const Alloc& a);
51 queue(const queue& q, const Alloc& a);
53 queue(queue&& q, const Alloc& a);
68 void swap(queue& q) noexcept(is_nothrow_swappable_v<Container>)
72 queue(Container) -> queue<typename Container::value_type, Container>; // C++17
75 queue(Container, Allocator) -> queue<typename Container::value_type, Container>; // C++17
78 bool operator==(const queue<T, Container>& x,const queue<T, Container>& y);
81 bool operator< (const queue<T, Container>& x,const queue<T, Container>& y);
84 bool operator!=(const queue<T, Container>& x,const queue<T, Container>& y);
87 bool operator> (const queue<T, Container>& x,const queue<T, Container>& y);
90 bool operator>=(const queue<T, Container>& x,const queue<T, Container>& y);
93 bool operator<=(const queue<T, Container>& x,const queue<T, Container>& y);
96 void swap(queue<T, Container>& x, queue<T, Container>& y)
194 template <class _Tp, class _Container = deque<_Tp> > class _LIBCPP_TEMPLATE_VIS queue;
199 operator==(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y);
204 operator< (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y);
207 class _LIBCPP_TEMPLATE_VIS queue
222 queue()
227 queue(const queue& __q) : c(__q.c) {}
230 queue& operator=(const queue& __q) {c = __q.c; return *this;}
234 queue(queue&& __q)
239 queue& operator=(queue&& __q)
245 explicit queue(const container_type& __c) : c(__c) {}
248 explicit queue(container_type&& __c) : c(_VSTD::move(__c)) {}
252 explicit queue(const _Alloc& __a,
257 queue(const queue& __q, const _Alloc& __a,
262 queue(const container_type& __c, const _Alloc& __a,
268 queue(container_type&& __c, const _Alloc& __a,
273 queue(queue&& __q, const _Alloc& __a,
312 void swap(queue& __q)
323 operator==(const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
329 operator< (const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
336 queue(_Container)
337 -> queue<typename _Container::value_type, _Container>;
344 queue(_Container, _Alloc)
345 -> queue<typename _Container::value_type, _Container>;
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)
375 operator> (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
383 operator>=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
391 operator<=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
399 swap(queue<_Tp, _Container>& __x, queue<_Tp, _Container>& __y)
406 struct _LIBCPP_TEMPLATE_VIS uses_allocator<queue<_Tp, _Container>, _Alloc>