yy::slice< T, S > Class Template Reference

Present a slice of the top of a stack. More...

#include <stack.hh>

List of all members.

Public Member Functions

 slice (const S &stack, unsigned int range)
const T & operator[] (unsigned int i) const

Private Attributes

const S & stack_
unsigned int range_

Detailed Description

template<class T, class S = stack<T>>
class yy::slice< T, S >

Present a slice of the top of a stack.

Definition at line 111 of file stack.hh.


The documentation for this class was generated from the following file:

Generated on Fri Aug 21 08:15:08 2009 for mqn2mps by  doxygen 1.6.0