#include <json_batchallocator.h>
◆ BatchAllocator()
template<typename AllocatedType, const unsigned int objectPerAllocation>
◆ ~BatchAllocator()
template<typename AllocatedType, const unsigned int objectPerAllocation>
◆ allocate()
template<typename AllocatedType, const unsigned int objectPerAllocation>
allocate space for an array of objectPerAllocation object.
- Warning
- it is the responsability of the caller to call objects constructors.
◆ release()
template<typename AllocatedType, const unsigned int objectPerAllocation>
Release the object.
- Warning
- it is the responsability of the caller to actually destruct the object.
The documentation for this class was generated from the following file: