Lines Matching defs:stack
78 * first-in-last-out %stack behavior.
88 * push, @c pop, and @c top, which are standard %stack/FILO
92 class stack
102 operator==(const stack<_Tp1, _Seq1>&, const stack<_Tp1, _Seq1>&);
106 operator<(const stack<_Tp1, _Seq1>&, const stack<_Tp1, _Seq1>&);
126 stack(const _Sequence& __c = _Sequence())
130 stack(const _Sequence& __c)
134 stack(_Sequence&& __c = _Sequence())
139 * Returns true if the %stack is empty.
145 /** Returns the number of elements in the %stack. */
152 * element of the %stack.
163 * element of the %stack.
173 * @brief Add data to the top of the %stack.
176 * This is a typical %stack operation. The function creates an
177 * element at the top of the %stack and assigns the given data
199 * This is a typical %stack operation. It shrinks the %stack
216 swap(stack& __s)
223 * @param x A %stack.
224 * @param y A %stack of the same type as @a x.
235 operator==(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
240 * @param x A %stack.
241 * @param y A %stack of the same type as @a x.
253 operator<(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
259 operator!=(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
265 operator>(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
271 operator<=(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
277 operator>=(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
283 swap(stack<_Tp, _Seq>& __x, stack<_Tp, _Seq>& __y)