Stxxl  1.2.1
Public Member Functions | List of all members
migrating_stack< CritSize, ExternalStack, InternalStack > Class Template Reference

A stack that migrates from internal memory to external when its size exceeds a certain threshold. More...

#include <stack.h>

Inherits noncopyable.

Public Member Functions

bool internal () const
 Returns true if current implementation is internal, otherwise false.
bool external () const
 Returns true if current implementation is external, otherwise false.

Detailed Description

template<unsigned_type CritSize, class ExternalStack, class InternalStack>
class migrating_stack< CritSize, ExternalStack, InternalStack >

A stack that migrates from internal memory to external when its size exceeds a certain threshold.

For semantics of the methods see documentation of the STL std::stack.

Member Function Documentation

template<unsigned_type CritSize, class ExternalStack , class InternalStack >
bool migrating_stack< CritSize, ExternalStack, InternalStack >::external ( ) const
inline

Returns true if current implementation is external, otherwise false.

template<unsigned_type CritSize, class ExternalStack , class InternalStack >
bool migrating_stack< CritSize, ExternalStack, InternalStack >::internal ( ) const
inline

Returns true if current implementation is internal, otherwise false.


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