Stxxl
1.3.2
|
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 | |
void | swap (migrating_stack &obj) |
bool | internal () const |
Returns true if current implementation is internal, otherwise false. More... | |
bool | external () const |
Returns true if current implementation is external, otherwise false. More... | |
bool | empty () const |
size_type | size () const |
value_type & | top () |
const value_type & | top () const |
void | push (const value_type &val) |
void | pop () |
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
.
|
inline |
Returns true if current implementation is external, otherwise false.
|
inline |
Returns true if current implementation is internal, otherwise false.