Class GlobalAllocator

Class Documentation

class GlobalAllocator

Public Functions

GlobalAllocator(const GlobalAllocator&) = delete
GlobalAllocator &operator=(const GlobalAllocator&) = delete
GlobalAllocator(GlobalAllocator&&) = delete
GlobalAllocator &operator=(GlobalAllocator&&) = delete
void *alloc(size_t size, size_t align = 1)
void dealloc(void *ptr)
size_t get_block_size(void *ptr)
void *alloc_zeroed(size_t size)
void *realloc(void *ptr, size_t new_size)

Public Static Functions

static GlobalAllocator &get_instance()

Protected Functions

GlobalAllocator()