17 virtual void*
Alloc(
const int ASize) = 0;
29 virtual void*
Realloc(
void*
const APreviousAllocation,
const int ANewSize) = 0;
36 virtual void Free(
void*
const APreviousAllocation) noexcept = 0;
virtual void Free(void *const APreviousAllocation) noexcept=0
Return memory to the heap. Data in allocated range will be lost.
virtual void * Alloc(const int ASize)=0
Allocate memory from the heap for use.
virtual void * Realloc(void *const APreviousAllocation, const int ANewSize)=0
Allocate memory from the heap for use while preserving previous data. Passing a valid APreviousAlloca...
An interface which can allocate memory.