Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
CrtAllocator Class Reference

C-runtime library allocator. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/common/arccore/common/internal/json/rapidjson/allocators.h>

Collaboration diagram for CrtAllocator:

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

Definition at line 84 of file allocators.h.

Member Function Documentation

◆ Free()

void CrtAllocator::Free ( void * ptr)
inlinestatic

Definition at line 101 of file allocators.h.

◆ Malloc()

void * CrtAllocator::Malloc ( size_t size)
inline

Definition at line 87 of file allocators.h.

◆ operator!=()

bool CrtAllocator::operator!= ( const CrtAllocator & ) const
inline

Definition at line 106 of file allocators.h.

◆ operator==()

bool CrtAllocator::operator== ( const CrtAllocator & ) const
inline

Definition at line 103 of file allocators.h.

◆ Realloc()

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

Definition at line 93 of file allocators.h.

Member Data Documentation

◆ kNeedFree

const bool CrtAllocator::kNeedFree = true
static

Definition at line 86 of file allocators.h.


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