migrating_stack< CritSize, ExternalStack, InternalStack > Class Template Reference
[Internals]
A stack that migrates from internal memory to external when its size exceeds a certain threshold.
More...
#include <stack.h>
Inherits noncopyable.
List of all members.
|
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 >::internal |
( |
|
) |
const [inline] |
Returns true if current implementation is internal, otherwise false.
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.
The documentation for this class was generated from the following file: