35 #ifndef BISON_STACK_HH
36 # define BISON_STACK_HH
42 template <
class T,
class S = std::deque<T> >
82 pop (
unsigned int n = 1)
92 return (
int)
seq_.size ();
104 template <
class T,
class S = stack<T> >
110 unsigned int range) :
stack_ (stack),
129 #endif // not BISON_STACK_HH
unsigned int range_
Bison undocumented.
T & operator[](unsigned int i)
Bison undocumented.
const_iterator end() const
Bison undocumented.
Present a slice of the top of a stack.
unsigned int height() const
Bison undocumented.
const_iterator begin() const
Bison undocumented.
const T & operator[](unsigned int i) const
Bison undocumented.
const S & stack_
Bison undocumented.
void push(const T &t)
Bison undocumented.
stack(unsigned int n)
Bison undocumented.
S::const_reverse_iterator const_iterator
Bison undocumented.
void pop(unsigned int n=1)
Bison undocumented.
S seq_
Bison undocumented.
S::reverse_iterator iterator
Bison undocumented.
slice(const S &stack, unsigned int range)
Bison undocumented.