MoSync 3.3
MAUtil::Stack< T > Class Template Reference

Generic, dynamic stack container. A restricted subset of vector. More...

#include <MAUtil/Stack.h>

List of all members.

Public Member Functions

void clear ()
const T & peek () const
T & peek ()
void pop ()
void push (const T &d)
int size () const
bool empty () const

Detailed Description

template<typename T>
class MAUtil::Stack< T >

Generic, dynamic stack container. A restricted subset of vector.


Member Function Documentation

template<typename T >
void MAUtil::Stack< T >::clear ( ) [inline]
template<typename T >
const T& MAUtil::Stack< T >::peek ( ) const [inline]
template<typename T >
T& MAUtil::Stack< T >::peek ( ) [inline]
template<typename T >
void MAUtil::Stack< T >::pop ( ) [inline]
template<typename T >
void MAUtil::Stack< T >::push ( const T &  d) [inline]
template<typename T >
int MAUtil::Stack< T >::size ( ) const [inline]
template<typename T >
bool MAUtil::Stack< T >::empty ( ) const [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines