LIFOStack(T a)
Construct given initial T.
void push(const T &a)
Push an element onto the stack.
Non-intrusive singly-linked list.
void insert(const T &a)
Add at head of list.
T bottom() const
Return a copy of the bottom element.
T pop()
Pop the top element off the stack.
LIFOStack(Istream &is)
Construct from Istream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
T & first()
Return the first entry added.
T & last()
Return the last entry added.
LIFOStack()
Construct null.
A LIFO stack based on a singly-linked list.
T top() const
Return a copy of the top element.
T removeHead()
Remove and return head.