momo  3.9
momo::MemManagerC Class Reference

MemManagerC uses malloc, free and realloc More...

#include <MemManager.h>

Public Member Functions

 MemManagerC () noexcept
 
 MemManagerC (MemManagerC &&)=default
 
 MemManagerC (const MemManagerC &)=default
 
 ~MemManagerC ()=default
 
MemManagerCoperator= (const MemManagerC &)=delete
 
MOMO_NODISCARD void * Allocate (size_t size)
 
void Deallocate (void *ptr, size_t) noexcept
 
MOMO_NODISCARD void * Reallocate (void *ptr, size_t, size_t newSize)
 

Detailed Description

MemManagerC uses malloc, free and realloc

Constructor & Destructor Documentation

◆ MemManagerC() [1/3]

momo::MemManagerC::MemManagerC ( )
inlineexplicitnoexcept

◆ MemManagerC() [2/3]

momo::MemManagerC::MemManagerC ( MemManagerC &&  )
default

◆ MemManagerC() [3/3]

momo::MemManagerC::MemManagerC ( const MemManagerC )
default

◆ ~MemManagerC()

momo::MemManagerC::~MemManagerC ( )
default

Member Function Documentation

◆ Allocate()

MOMO_NODISCARD void* momo::MemManagerC::Allocate ( size_t  size)
inline

◆ Deallocate()

void momo::MemManagerC::Deallocate ( void *  ptr,
size_t   
)
inlinenoexcept

◆ operator=()

MemManagerC& momo::MemManagerC::operator= ( const MemManagerC )
delete

◆ Reallocate()

MOMO_NODISCARD void* momo::MemManagerC::Reallocate ( void *  ptr,
size_t  ,
size_t  newSize 
)
inline

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