Itoyori  v0.0.1
ityr::ori::root_resource Class Referencefinal

#include <noncoll_mem.hpp>

Inheritance diagram for ityr::ori::root_resource:
Collaboration diagram for ityr::ori::root_resource:

Public Member Functions

 root_resource (void *addr, std::size_t size)
 
void * do_allocate (std::size_t bytes, std::size_t alignment) override
 
void do_deallocate (void *p, std::size_t bytes, std::size_t alignment[[maybe_unused]]) override
 
bool do_is_equal (const common::pmr::memory_resource &other) const noexcept override
 

Constructor & Destructor Documentation

◆ root_resource()

ityr::ori::root_resource::root_resource ( void *  addr,
std::size_t  size 
)
inline

Member Function Documentation

◆ do_allocate()

void* ityr::ori::root_resource::do_allocate ( std::size_t  bytes,
std::size_t  alignment 
)
inlineoverride

◆ do_deallocate()

void ityr::ori::root_resource::do_deallocate ( void *  p,
std::size_t  bytes,
std::size_t alignment]  [[maybe_unused] 
)
inlineoverride

◆ do_is_equal()

bool ityr::ori::root_resource::do_is_equal ( const common::pmr::memory_resource &  other) const
inlineoverridenoexcept

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