#include <RapidjsonAllocatorAdapter.h>
|
void * | Malloc (size_t size) |
|
void * | Realloc (void *ptr, size_t originalSize, size_t newSize) |
|
|
static void | Free (void *) |
|
|
static constexpr bool | kNeedFree = false |
| Stack allocator doesn't support freeing allocated memory at all.
|
|
template<size_t SizeN, size_t AlignN = alignof(AZStd::byte)>
class AZ::Json::RapidjsonStackAllocator< SizeN, AlignN >
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
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/JSON/RapidjsonAllocatorAdapter.h