#include <source/toolbox/memory/StandardArena.h>
Inheritance diagram for SAMRAI::tbox::StandardArena:
Public Member Functions | |
StandardArena () | |
virtual | ~StandardArena () |
virtual void * | alloc (const size_t bytes) |
virtual void | free (void *p) |
|
The constructor for the standard memory arena. |
|
The virtual destructor for the standard memory arena. |
|
Allocate memory from the standard memory arena. The current implementation of StandardArena uses the standard C++ new operator. Implements SAMRAI::tbox::Arena. |
|
Return memory to the standard arena pool. The current implementation of StandardArena uses the standard C++ delete operator. Implements SAMRAI::tbox::Arena. |