Home | History | Annotate | Download | only in include

Lines Matching full:stack

2 //===---------------------------- stack -----------------------------------===//
15 stack synopsis
21 class stack
34 stack() = default;
35 ~stack() = default;
37 stack(const stack& q) = default;
38 stack(stack&& q) = default;
40 stack& operator=(const stack& q) = default;
41 stack& operator=(stack&& q) = default;
43 explicit stack(const container_type& c);
44 explicit stack(container_type&& c);
45 template <class Alloc> explicit stack(const Alloc& a);
46 template <class Alloc> stack(const container_type& c, const Alloc& a);
47 template <class Alloc> stack(container_type&& c, const Alloc& a);
48 template <class Alloc> stack(const stack& c, const Alloc& a);
49 template <class Alloc> stack(stack&& c, const Alloc& a);
61 void swap(stack& c) noexcept(noexcept(swap(c, q.c)));
65 bool operator==(const stack<T, Container>& x, const stack<T, Container>& y);
67 bool operator< (const stack<T, Container>& x, const stack<T, Container>& y);
69 bool operator!=(const stack<T, Container>& x, const stack<T, Container>& y);
71 bool operator> (const stack<T, Container>& x, const stack<T, Container>& y);
73 bool operator>=(const stack<T, Container>& x, const stack<T, Container>& y);
75 bool operator<=(const stack<T, Container>& x, const stack<T, Container>& y);
78 void swap(stack<T, Container>& x, stack<T, Container>& y)
94 template <class _Tp, class _Container> class _LIBCPP_TYPE_VIS_ONLY stack;
99 operator==(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y);
104 operator< (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y);
107 class _LIBCPP_TYPE_VIS_ONLY stack
121 stack()
126 stack(const stack& __q) : c(__q.c) {}
130 stack(stack&& __q)
136 stack& operator=(const stack& __q) {c = __q.c; return *this;}
140 stack& operator=(stack&& __q)
146 explicit stack(const container_type& __c) : c(__c) {}
149 explicit stack(container_type&& __c) : c(_VSTD::move(__c)) {}
153 explicit stack(const _Alloc& __a,
159 stack(const container_type& __c, const _Alloc& __a,
165 stack(const stack& __s, const _Alloc& __a,
172 stack(container_type&& __c, const _Alloc& __a,
178 stack(stack&& __s, const _Alloc& __a,
209 void swap(stack& __s)
219 operator==(const stack<T1, _C1>& __x, const stack<T1, _C1>& __y);
224 operator< (const stack<T1, _C1>& __x, const stack<T1, _C1>& __y);
230 operator==(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
238 operator< (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
246 operator!=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
254 operator> (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
262 operator>=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
270 operator<=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
278 swap(stack<_Tp, _Container>& __x, stack<_Tp, _Container>& __y)
285 struct _LIBCPP_TYPE_VIS_ONLY uses_allocator<stack<_Tp, _Container>, _Alloc>