vecmem 1.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
vecmem::details::conditional_memory_resource_impl Class Reference

Implementation for vecmem::details::conditional_memory_resource. More...

#include </home/runner/work/vecmem/vecmem/core/src/memory/details/conditional_memory_resource_impl.hpp>

Public Member Functions

 conditional_memory_resource_impl (memory_resource &upstream, std::function< bool(std::size_t, std::size_t)> pred)
 Constructor.
 
voidallocate (std::size_t, std::size_t)
 (Conditionally) Allocate memory with a chosen memory resource
 
void deallocate (void *p, std::size_t, std::size_t)
 Deallocate previously allocated memory.
 

Detailed Description

Implementation for vecmem::details::conditional_memory_resource.


The documentation for this class was generated from the following files: