CrtAllocator Class Reference#
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
List of all members
CrtAllocator Class Reference
C-runtime library allocator. More...
#include <allocators.h>
Public Member Functions | |
void * | Malloc (size_t size) |
void * | Realloc (void *originalPtr, size_t originalSize, size_t newSize) |
bool | operator== (const CrtAllocator &) const RAPIDJSON_NOEXCEPT |
bool | operator!= (const CrtAllocator &) const RAPIDJSON_NOEXCEPT |
Static Public Member Functions | |
static void | Free (void *ptr) RAPIDJSON_NOEXCEPT |
Static Public Attributes | |
static const bool | kNeedFree = true |
Detailed Description
C-runtime library allocator.
This class is just wrapper for standard C library memory routines.
- Note
- implements Allocator concept
Member Function Documentation
◆ Free()
|
inlinestatic |
◆ Malloc()
|
inline |
◆ operator!=()
|
inline |
◆ operator==()
|
inline |
◆ Realloc()
|
inline |
Member Data Documentation
◆ kNeedFree
|
static |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/allocators.h