35 #ifndef BISON_STACK_HH
36 # define BISON_STACK_HH
43 namespace torc {
namespace generic {
47 template <
class T,
class S = std::deque<T> >
87 pop (
unsigned int n = 1)
109 template <
class T,
class S = stack<T> >
115 unsigned int range) :
stack_ (stack),
140 #endif // not BISON_STACK_HH[]dnl
unsigned int range_
Bison undocumented.
T & operator[](unsigned int i)
Bison undocumented.
Present a slice of the top of a stack.
S::reverse_iterator iterator
unsigned int height() const
const T & operator[](unsigned int i) const
Bison undocumented.
slice(const S &stack, unsigned int range)
const S & stack_
Bison undocumented.
const_iterator end() const
S::const_reverse_iterator const_iterator
const_iterator begin() const
S seq_
Bison undocumented.
void pop(unsigned int n=1)