Lines Matching defs:Stack
31 // Class Stack (below) grows and shrinks by linking together "segments" which
45 // Class Stack allocates segments from the C heap. However, two protected
52 // implementation in class Stack assumes that alloc() will terminate the process
94 class Stack: public StackBase<F>
103 inline Stack(size_t segment_size = default_segment_size(),
105 inline ~Stack() { clear(true); }
165 template <class E, MEMFLAGS F> class ResourceStack: public Stack<E, F>, public ResourceObj
170 // ResourceStack(size_t segment_size = Stack<E, F>::default_segment_size()):
171 ResourceStack(size_t segment_size): Stack<E, F>(segment_size, max_uintx)
176 ~ResourceStack() { Stack<E, F>::reset(true); }
190 StackIterator(Stack<E, F>& stack): _stack(stack) { sync(); }
192 Stack<E, F>& stack() const { return _stack; }
202 Stack<E, F>& _stack;