38 #ifndef YY_YY_USERS_AKIM_SRC_LRDE_2_LIB_VCSN_RAT_STACK_HH_INCLUDED
39 # define YY_YY_USERS_AKIM_SRC_LRDE_2_LIB_VCSN_RAT_STACK_HH_INCLUDED
43 #line 11 "/Users/akim/src/lrde/2/lib/vcsn/rat/parse.yy" // stack.hh:132
44 namespace vcsn {
namespace rat {
45 #line 46 "/Users/akim/src/lrde/2/lib/vcsn/rat/stack.hh" // stack.hh:132
46 template <
class T,
class S = std::vector<T> >
91 pop (
unsigned int n = 1)
104 typename S::size_type
114 return seq_.rbegin ();
132 template <
class T,
class S = stack<T> >
153 #line 11 "/Users/akim/src/lrde/2/lib/vcsn/rat/parse.yy" // stack.hh:132
155 #line 156 "/Users/akim/src/lrde/2/lib/vcsn/rat/stack.hh" // stack.hh:132
157 #endif // !YY_YY_USERS_AKIM_SRC_LRDE_2_LIB_VCSN_RAT_STACK_HH_INCLUDED
slice(const S &stack, unsigned int range)
void push(T &t)
Steal the contents of t.
const T & operator[](unsigned int i) const
const_iterator end() const
S seq_
The wrapped container.
S::reverse_iterator iterator
T & operator[](unsigned int i)
void pop(unsigned int n=1)
const_iterator begin() const
S::size_type size() const
S::const_reverse_iterator const_iterator
Present a slice of the top of a stack.
stack & operator=(const stack &)