torc::generic::stack< T, S > Class Template Reference

Inheritance diagram for torc::generic::stack< T, S >:
Inheritance graph
[legend]
Collaboration diagram for torc::generic::stack< T, S >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef S::reverse_iterator iterator
typedef S::const_reverse_iterator const_iterator

Public Member Functions

 stack (unsigned int n)
T & operator[] (unsigned int i)
const T & operator[] (unsigned int i) const
void push (const T &t)
void pop (unsigned int n=1)
unsigned int height () const
const_iterator begin () const
const_iterator end () const

Private Attributes

seq_

Detailed Description

template<class T, class S = std::deque<T>>
class torc::generic::stack< T, S >

Definition at line 48 of file stack.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines
Generated on Wed Feb 23 00:05:39 2011 for TORC by  doxygen 1.6.3