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. |
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
.
bool migrating_stack< CritSize, ExternalStack, InternalStack >::external | ( | ) | const [inline] |
Returns true if current implementation is external, otherwise false.
bool migrating_stack< CritSize, ExternalStack, InternalStack >::internal | ( | ) | const [inline] |
Returns true if current implementation is internal, otherwise false.