3#include "../utility/aligned_malloc.h"
4#include "../utility/alignment.h"
38#pragma region Allocation
An allocator which uses an aligned malloc for allocation.
Definition mallocator.h:16
void deallocate(void *p, size_t n) noexcept
Definition mallocator.h:44
void * allocate(size_t n) noexcept
Definition mallocator.h:39
bool operator!=(const mallocator &rhs) const noexcept
Definition mallocator.h:33
mallocator() noexcept=default
void * aligned_malloc(size_t size, size_t alignment) noexcept
Definition aligned_malloc.h:48
void aligned_free(void *ptr) noexcept
Definition aligned_malloc.h:73
constexpr size_t ALIGNMENT
Definition alignment.h:7
Definition cascading.h:16