37#ifndef Foam_LIFOStack_H
38#define Foam_LIFOStack_H
79 void push(
const T& elem)
Non-intrusive singly-linked list.
A LIFO stack based on a singly-linked list.
void push(const T &elem)
Push an element onto the front of the stack.
const T & bottom() const
Const reference to the bottom element.
const T & top() const
Const reference to the top element.
T pop()
Pop the top element off the stack.
void push(T &&elem)
Move an element onto the front of the stack.
Template class for non-intrusive linked lists.
void prepend(const T &elem)
Add copy at front of list.
T removeHead()
Remove and return first entry.
reference last()
The last entry in the list.
reference first()
The first entry in the list.
LList< SLListBase, T > SLList