• Home
  • Raw
  • Download

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(is_nothrow_swappable_v<Container>)
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 = deque<_Tp> > class _LIBCPP_TEMPLATE_VIS 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_TEMPLATE_VIS stack
122 stack()
127 stack(const stack& __q) : c(__q.c) {}
131 stack(stack&& __q)
137 stack& operator=(const stack& __q) {c = __q.c; return *this;}
141 stack& operator=(stack&& __q)
147 explicit stack(const container_type& __c) : c(__c) {}
150 explicit stack(container_type&& __c) : c(_VSTD::move(__c)) {}
154 explicit stack(const _Alloc& __a,
160 stack(const container_type& __c, const _Alloc& __a,
166 stack(const stack& __s, const _Alloc& __a,
173 stack(container_type&& __c, const _Alloc& __a,
179 stack(stack&& __s, const _Alloc& __a,
215 void swap(stack& __s)
225 operator==(const stack<T1, _C1>& __x, const stack<T1, _C1>& __y);
230 operator< (const stack<T1, _C1>& __x, const stack<T1, _C1>& __y);
236 operator==(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
244 operator< (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
252 operator!=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
260 operator> (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
268 operator>=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
276 operator<=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
287 swap(stack<_Tp, _Container>& __x, stack<_Tp, _Container>& __y)
294 struct _LIBCPP_TEMPLATE_VIS uses_allocator<stack<_Tp, _Container>, _Alloc>