Overview
Supports the external allocator registered by users.
Header Files to Be Included
1 | #include <ge/ge_allocator.h> |
Public Member Functions
Allocator() = default virtual ~Allocator() = default Allocator(const Allocator &) = delete Allocator &operator=(const Allocator &) = delete virtual MemBlock *Malloc(size_t size) = 0 virtual void Free(MemBlock *block) = 0 virtual MemBlock *MallocAdvise(size_t size, void *addr)
Parent topic: Allocator