mn::memory::basic_new_allocaor_impl Class Reference

#include <mn_basic_new_allocaor.hpp>

Public Types

using allocator_category = std_allocator_tag()
 
using is_thread_safe = std::false_type
 

Static Public Member Functions

static void first () noexcept
 
static void * allocate (size_t size, size_t alignment) noexcept
 
static void deallocate (void *ptr, size_t size, size_t alignment) noexcept
 
static size_t max_node_size ()
 
static size_t get_max_alocator_size ()
 

Member Typedef Documentation

◆ allocator_category

◆ is_thread_safe

Member Function Documentation

◆ allocate()

static void* mn::memory::basic_new_allocaor_impl::allocate ( size_t  size,
size_t  alignment 
)
inlinestaticnoexcept

◆ deallocate()

static void mn::memory::basic_new_allocaor_impl::deallocate ( void *  ptr,
size_t  size,
size_t  alignment 
)
inlinestaticnoexcept

◆ first()

static void mn::memory::basic_new_allocaor_impl::first ( )
inlinestaticnoexcept

◆ get_max_alocator_size()

static size_t mn::memory::basic_new_allocaor_impl::get_max_alocator_size ( )
inlinestatic

◆ max_node_size()

static size_t mn::memory::basic_new_allocaor_impl::max_node_size ( )
inlinestatic

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