SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Memory Class Reference

#include <swcdb/core/Malloc.h>

Static Public Member Functions

static SWC_MALLOC_FUNC void * allocate (const size_t sz) noexcept
 
static SWC_MALLOC_FUNC void * allocate (const size_t sz, std::align_val_t al) noexcept
 
static void free (void *ptr) noexcept
 

Detailed Description

Definition at line 32 of file Malloc.h.

Member Function Documentation

◆ allocate() [1/2]

SWC_CAN_INLINE SWC_MALLOC_FUNC void * SWC::Memory::allocate ( const size_t  sz)
staticnoexcept

Definition at line 14 of file Malloc.cc.

References SWC_FMT_LU.

Referenced by operator new(), and operator new[]().

+ Here is the caller graph for this function:

◆ allocate() [2/2]

SWC_CAN_INLINE SWC_MALLOC_FUNC void * SWC::Memory::allocate ( const size_t  sz,
std::align_val_t  al 
)
staticnoexcept

Definition at line 33 of file Malloc.cc.

References SWC_FMT_LU.

◆ free()

SWC_CAN_INLINE void SWC::Memory::free ( void *  ptr)
staticnoexcept

Definition at line 53 of file Malloc.cc.

Referenced by operator delete(), and operator delete[]().

+ Here is the caller graph for this function:

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