CrtAllocator

Engine/source/persistence/rapidjson/allocators.h

C-runtime library allocator.

More...

Public Static Attributes

Public Functions

void *
Malloc(size_t size)
void *
Realloc(void * originalPtr, size_t originalSize, size_t newSize)

Public Static Functions

Free(void * ptr)

Detailed Description

C-runtime library allocator.

This class is just wrapper for standard C library memory routines.

note:

implements Allocator concept

Public Static Attributes

const bool kNeedFree 

Public Functions

Malloc(size_t size)

Realloc(void * originalPtr, size_t originalSize, size_t newSize)

Public Static Functions

Free(void * ptr)