MADNESS 0.10.1
|
Base class for Stack
which implements basic memory operations for POD objects.
More...
#include <stack.h>
Static Protected Member Functions | |
static void | destroy (T *) |
Destroy a POD object (no op). | |
static void | destroy (T *, T *) |
Destroy a range of POD objects (no op). | |
static void | uninitialized_copy (T *first, T *last, T *dest) |
Copy a range of POD objects to an uninitialized buffer. | |
static void | uninitialized_move (T *first, T *last, T *dest) |
Move a range of POD objects to an uninitialized buffer. | |
Base class for Stack
which implements basic memory operations for POD objects.
T | The data type of the stack. |
|
inlinestaticprotected |
Destroy a POD object (no op).
No need to destroy PODs.
|
inlinestaticprotected |
Destroy a range of POD objects (no op).
No need to destroy PODs.
|
inlinestaticprotected |
Copy a range of POD objects to an uninitialized buffer.
[in] | first | The beginning of the range to be copied. |
[in] | last | The end of the range to be copied. |
[in] | dest | Pointer to the uninitialized memory buffer. |
References T().
|
inlinestaticprotected |
Move a range of POD objects to an uninitialized buffer.
[in] | first | The beginning of the range to be moved. |
[in] | last | The end of the range to be moved. |
[in] | dest | Pointer to the uninitialized memory buffer. |
References T().