The default base class for objects that allocate blocks of memory. More...
#include <r8bbase.h>
Static Public Member Functions | |
| static void * | allocmem (const size_t Size) |
| Allocates a memory block. | |
| static void | freemem (void *const p) |
| Frees a previously allocated memory block. | |
The default base class for objects that allocate blocks of memory.
Memory buffer allocator that uses standard C++ "new" to allocate memory.
|
static |
Allocates a memory block.
| Size | The size of the block, in bytes. |
|
static |
Frees a previously allocated memory block.
| p | Pointer to the allocated block, can be nullptr. |