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> >
145 return stack_[range_ - i];
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 S::size_type size() const
const_iterator end() const
void push(T &t)
Steal the contents of t.
Present a slice of the top of a stack.
T & operator[](unsigned int i)
void pop(unsigned int n=1)
S seq_
The wrapped container.
slice(const S &stack, unsigned int range)
S::reverse_iterator iterator
S::const_reverse_iterator const_iterator
stack & operator=(const stack &)
const_iterator begin() const