torc::generic::slice< T, S > Class Template Reference

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

#include <stack.hh>

Collaboration diagram for torc::generic::slice< T, S >:

Collaboration graph
[legend]

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 torc::generic::slice< T, S >

Present a slice of the top of a stack.

Definition at line 110 of file stack.hh.


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

Generated on Thu Oct 13 16:50:42 2011 for TORC by  doxygen 1.5.6