Stack (C++)
# Stack (C++)

A stack is a standard C++ container adapter, designed to be used in a LIFO context, and is implemented with an interface/wrapper to the type passed to it as a template argument, which defaults to a deque. It is so simple, that it can be described with just a sample interface:

## Overview of Functions

| | Function | Description |
| - | - | - |
| Element Access | top | Get a reference to the top element of the stack, does not pop it |
| Modifiers | push | Push an element onto the stack |
| Modifiers | pop | Pop off the top element of the stack |
| Size | size | Get number of elements |
