![]() |
r8brain-free-src
High-quality pro audio sample rate converter library
|
The default base class for objects created on heap. More...
#include <r8bbase.h>
Public Member Functions | |
void | operator delete (void *const p) |
void | operator delete[] (void *const p) |
void * | operator new (const size_t n) |
void * | operator new (const size_t, void *const p) |
void * | operator new[] (const size_t n) |
The default base class for objects created on heap.
Class that implements "new" and "delete" operators that use standard malloc() and free() functions.
void r8b::CStdClassAllocator::operator delete | ( | void *const | p | ) |
Operator frees a previously allocated memory block for the object.
p | Pointer to the allocated memory block for the object. |
void r8b::CStdClassAllocator::operator delete[] | ( | void *const | p | ) |
Operator frees a previously allocated memory block for the object.
p | Pointer to the allocated memory block for the object. |
void * r8b::CStdClassAllocator::operator new | ( | const size_t | n | ) |
n | The size of the object, in bytes. |
void * r8b::CStdClassAllocator::operator new | ( | const | size_t, |
void *const | p | ||
) |
p | Pointer to object's pre-allocated memory block. |
void * r8b::CStdClassAllocator::operator new[] | ( | const size_t | n | ) |
n | The size of the object, in bytes. |