A memory manager using power-of-two pages that can be split to deal with allocation requests of vario...
Definition binary_page_memory_resource.hpp:37
VECMEM_CORE_EXPORT binary_page_memory_resource(binary_page_memory_resource &&parent) noexcept
Move constructor.
VECMEM_CORE_EXPORT ~binary_page_memory_resource() override
Deconstruct a binary page memory manager, freeing all allocated blocks upstream.
binary_page_memory_resource & operator=(const binary_page_memory_resource &)=delete
Disallow copying the memory resource.
VECMEM_CORE_EXPORT void do_deallocate(void *p, std::size_t, std::size_t) override
De-allocate a previously allocated memory blob.
VECMEM_CORE_EXPORT binary_page_memory_resource & operator=(binary_page_memory_resource &&rhs) noexcept
Move assignment operator.
binary_page_memory_resource(const binary_page_memory_resource &)=delete
Disallow copying the memory resource.
VECMEM_CORE_EXPORT void * do_allocate(std::size_t, std::size_t) override
Allocate a blob of memory.