NCBI C++ ToolKit
|
Search Toolkit Book for rapidjson::Allocator
Concept for allocating, resizing and freeing memory block. More...
#include <misc/jsonwrapp/rapidjson11/allocators.h>
Concept for allocating, resizing and freeing memory block.
Note that Malloc() and Realloc() are non-static but Free() is static.
So if an allocator need to support Free(), it needs to put its pointer in the header of memory block.