|
vecmem 1.22.0
|
Implementation for vecmem::details::debug_memory_resource.
More...
#include </home/runner/work/vecmem/vecmem/core/src/memory/details/debug_memory_resource_impl.hpp>
Public Member Functions | |
| debug_memory_resource_impl (memory_resource &upstream) | |
| Constructs the debug memory resource. | |
| void * | allocate (std::size_t, std::size_t) |
| Allocate memory with a chosen memory resource. | |
| void | deallocate (void *p, std::size_t, std::size_t) |
| Deallocate previously allocated memory. | |
Implementation for vecmem::details::debug_memory_resource.
|
explicit |
Constructs the debug memory resource.
| [in] | upstream | The upstream memory resource to use. |