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)
 

Static Public Member Functions

static void Free (void *ptr)
 

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

Definition at line 74 of file allocators.h.

Member Function Documentation

static void CrtAllocator::Free ( void *  ptr)
inlinestatic

Definition at line 95 of file allocators.h.

void* CrtAllocator::Malloc ( size_t  size)
inline

Definition at line 78 of file allocators.h.

void* CrtAllocator::Realloc ( void *  originalPtr,
size_t  originalSize,
size_t  newSize 
)
inline

Definition at line 85 of file allocators.h.

Member Data Documentation

const bool CrtAllocator::kNeedFree = true
static

Definition at line 77 of file allocators.h.


The documentation for this class was generated from the following file:


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54