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 >:
Inheritance graph

Public Member Functions

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

Public Attributes

elements
 STL member.

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

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

STL member.


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