#include <RapidjsonAllocatorAdapter.h>
Public Member Functions | |
| void * | Malloc (size_t size) |
| void * | Realloc (void *ptr, size_t originalSize, size_t newSize) |
Static Public Member Functions | |
| static void | Free (void *) |
Static Public Attributes | |
| static constexpr bool | kNeedFree = false |
| Stack allocator doesn't support freeing allocated memory at all. | |
Allocator which uses the a predefined buffer to allocate memory In most cases this is stack memory But if this allocator is a member of a class that is dynamically allocated, then it is heap memory Implements the rapidjson::Allocator concept https://rapidjson.org/md_doc_internals.html#InternalAllocator This