Project
Loading...
Searching...
No Matches
o2::its::ExternalAllocatorAdaptor Class Referencefinal

#include <ExternalAllocator.h>

Inherits std::pmr::memory_resource.

Public Member Functions

 ExternalAllocatorAdaptor (ExternalAllocator *alloc)
 

Protected Member Functions

voiddo_allocate (size_t bytes, size_t alignment) override
 
void do_deallocate (void *p, size_t bytes, size_t) override
 
bool do_is_equal (const std::pmr::memory_resource &other) const noexcept override
 

Detailed Description

Definition at line 31 of file ExternalAllocator.h.

Constructor & Destructor Documentation

◆ ExternalAllocatorAdaptor()

o2::its::ExternalAllocatorAdaptor::ExternalAllocatorAdaptor ( ExternalAllocator alloc)
inlineexplicit

Definition at line 34 of file ExternalAllocator.h.

Member Function Documentation

◆ do_allocate()

void * o2::its::ExternalAllocatorAdaptor::do_allocate ( size_t  bytes,
size_t  alignment 
)
inlineoverrideprotected

Definition at line 37 of file ExternalAllocator.h.

◆ do_deallocate()

void o2::its::ExternalAllocatorAdaptor::do_deallocate ( void p,
size_t  bytes,
size_t   
)
inlineoverrideprotected

Definition at line 46 of file ExternalAllocator.h.

◆ do_is_equal()

bool o2::its::ExternalAllocatorAdaptor::do_is_equal ( const std::pmr::memory_resource other) const
inlineoverrideprotectednoexcept

Definition at line 51 of file ExternalAllocator.h.


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