modm API documentation
modm::Stack< T, Container > Class Template Reference

LIFO stack. More...

#include <modm/container/stack.hpp>

Inheritance diagram for modm::Stack< T, Container >:
modm::BoundedStack< T, N, Container >

Public Typedefs

typedef Container::Size Size

Public Member Functions

bool isEmpty ()
bool isFull ()
Size getSize ()
Size getMaxSize ()
T & get ()
const T & get () const
bool push (const T &value)
void pop ()

Protected Attributes

Container c

Detailed Description

template<typename T, typename Container>
class modm::Stack< T, Container >

LIFO stack.

Elements are pushed/popped from the "back" of the specific container, which is known as the top of the stack.

getFront(), removeFront(), prepend()

See also
Fabian Greif

The documentation for this class was generated from the following file: