A LIFO stack based on a singly-linked list.
Template class for non-intrusive linked lists.
T & first()
Return the first entry added.
void push(const T &a)
Push an element onto the stack.
T bottom() const
Return a copy of the bottom element.
T removeHead()
Remove and return head.
T pop()
Pop the top element off the stack.
void insert(const T &a)
Add at head of list.
T & last()
Return the last entry added.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
T top() const
Return a copy of the top element.
Non-intrusive singly-linked list.