Protected Member Functions | Protected Attributes

SmallStackItem< Tindex, Titem > Class Template Reference

Base class for SmallStack. More...

#include <smallstack_type.hpp>

Inheritance diagram for SmallStackItem< Tindex, Titem >:
SmallStack< Titem, Tindex, Tinvalid, Tgrowth_step, Tmax_size > SmallStack< Titem, Tindex, Tinvalid, Tgrowth_step, Tmax_size >::PooledSmallStack

Protected Member Functions

 SmallStackItem (const Titem &value, Tindex next)
 Create a new item.

Protected Attributes

Tindex next
 Pool index of next item.
Titem value
 Value of current item.

Detailed Description

template<typename Tindex, typename Titem>
class SmallStackItem< Tindex, Titem >

Base class for SmallStack.

We cannot add this into SmallStack itself as certain compilers don't like it.

Definition at line 23 of file smallstack_type.hpp.


Constructor & Destructor Documentation

template<typename Tindex , typename Titem >
SmallStackItem< Tindex, Titem >::SmallStackItem ( const Titem &  value,
Tindex  next 
) [inline, protected]

Create a new item.

Parameters:
value Value of the item.
next Next item in the stack.

Definition at line 33 of file smallstack_type.hpp.


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