AWS SDK for C++AWS SDK for C++ Version 1.11.791 |
#include <MemorySystemInterface.h>
Central interface for memory management customizations. To create a custom memory manager, implement this interface and then call InitializeAWSMemorySystem().
Definition at line 22 of file MemorySystemInterface.h.
nullptr
Allocate your memory inside this method. blocksize and alignment are exactly the same as the std::allocator interfaces. The allocationTag parameter is for memory tracking; you don't have to handle it.
This is for initializing your memory manager in a static context. This can be empty if you don't need to do that.
This is for cleaning up your memory manager in a static context. This can be empty if you don't need to do that.
Free the memory pointed to by memoryPtr.