CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::DefaultAllocator Struct Reference

More...

#include <CeresEngine/Foundation/Allocator.hpp>

Public Types

using is_stateful = std::integral_constant< bool, false >
 

Static Public Member Functions

static voidallocate_node (std::size_t size, std::size_t alignment)
 
static void deallocate_node (void *node, std::size_t size, std::size_t alignment) noexcept
 
static voidallocate_array (std::size_t count, std::size_t size, std::size_t alignment)
 
static void deallocate_array (void *ptr, std::size_t count, std::size_t size, std::size_t alignment) noexcept
 
static std::size_t max_node_size ()
 
static std::size_t max_array_size ()
 
static std::size_t max_alignment ()
 

Detailed Description

Member Typedef Documentation

◆ is_stateful

Member Function Documentation

◆ allocate_array()

static void * CeresEngine::DefaultAllocator::allocate_array ( std::size_t  count,
std::size_t  size,
std::size_t  alignment 
)
static

◆ allocate_node()

static void * CeresEngine::DefaultAllocator::allocate_node ( std::size_t  size,
std::size_t  alignment 
)
static

◆ deallocate_array()

static void CeresEngine::DefaultAllocator::deallocate_array ( void ptr,
std::size_t  count,
std::size_t  size,
std::size_t  alignment 
)
staticnoexcept

◆ deallocate_node()

static void CeresEngine::DefaultAllocator::deallocate_node ( void node,
std::size_t  size,
std::size_t  alignment 
)
staticnoexcept

◆ max_alignment()

static std::size_t CeresEngine::DefaultAllocator::max_alignment ( )
static

◆ max_array_size()

static std::size_t CeresEngine::DefaultAllocator::max_array_size ( )
static

◆ max_node_size()

static std::size_t CeresEngine::DefaultAllocator::max_node_size ( )
static

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