memory
Classes | Functions
memory_resource_adapter.hpp File Reference

Detailed Description

Class foonathan::memory::memory_resource_adapter and foonathan::memory::memory_resource_allocator to allow usage of PMRs.

Classes

class  memory_resource
 The memory_resource abstract base class used in the implementation. More...
 
class  memory_resource_adapter< RawAllocator >
 Wraps a RawAllocator and makes it a memory_resource. More...
 
class  memory_resource_allocator
 Wraps a memory_resource and makes it a RawAllocator. More...
 
struct  is_shared_allocator< memory_resource_allocator >
 Specialization of is_shared_allocator to mark memory_resource_allocator as shared. More...
 

Functions

bool operator== (const memory_resource &a, const memory_resource &b) noexcept
 
bool operator!= (const memory_resource &a, const memory_resource &b) noexcept
 
bool operator!= (const memory_resource_allocator &lhs, const memory_resource_allocator &rhs) noexcept