A LIFO stack based on a singly-linked list.
LIFOStack()
Construct null.
T & first()
Return the first entry added.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void push(const T &a)
Push an element onto the stack.
T removeHead()
Remove and return head.
T pop()
Pop the top element off the stack.
Non-intrusive singly-linked list.
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.
T bottom() const
Return a copy of the bottom element.