3 #include "../utility/assert.h"
34 #pragma region Allocation
46 #pragma region Utility
47 bool owns(
void* p)
const noexcept
#define KTL_ASSERT(x)
Definition: assert.h:17
An allocator which does nothing. Useful for debugging composite allocators, like ensuring a specific ...
Definition: null_allocator.h:12
null_allocator() noexcept=default
bool owns(void *p) const noexcept
Definition: null_allocator.h:47
void deallocate(void *p, size_t n) noexcept
Definition: null_allocator.h:40
void * allocate(size_t n) noexcept
Definition: null_allocator.h:35
bool operator!=(const null_allocator &rhs) const noexcept
Definition: null_allocator.h:29
Definition: cascading.h:15