dune-common  2.2.1
Public Member Functions | Public Attributes | List of all members
Dune::FiniteStack< T, n > Class Template Reference

A stack with static memory allocation. More...

#include <dune/common/finitestack.hh>

Inheritance diagram for Dune::FiniteStack< T, n >:

Public Member Functions

bool full () const
 Returns true if the stack is full. More...
 
pop ()
 

Public Attributes

elements
 STL member. More...
 

Detailed Description

template<class T, int n>
class Dune::FiniteStack< T, n >

A stack with static memory allocation.

This class implements a very efficient stack where the maximum depth is known in advance. Note that no error checking is performed!

Parameters
nMaximum number of stack entries

Member Data Documentation

T std::stack< T >::elements
inherited

STL member.


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