Utilities related to memory management. More...
#include <cassert>
Go to the source code of this file.
Namespaces | |
npstat | |
Functions | |
template<typename T > | |
void | npstat::clearBuffer (T *buf, const unsigned long len) |
template<typename T1 , typename T2 > | |
void | npstat::copyBuffer (T1 *dest, const T2 *source, const unsigned long len) |
template<typename T > | |
void | npstat::destroyBuffer (T *thisBuffer, const T *stackBuffer) |
template<typename T > | |
T * | npstat::makeBuffer (unsigned sizeNeeded, T *stackBuffer, unsigned sizeofStackBuffer) |
Utilities related to memory management.
Author: I. Volobouev
October 2009
Definition in file allocators.h.