Arena implementation that just fails all allocations. Can be used with containers that have embedded capacity and arena, but we want them to use only embedded capacity.
More...
#include <noop_arena.h>
Arena implementation that just fails all allocations. Can be used with containers that have embedded capacity and arena, but we want them to use only embedded capacity.
Definition at line 24 of file noop_arena.h.
◆ allocate()
virtual void* roc::core::NoopArenaImpl::allocate |
( |
size_t |
size | ) |
|
|
virtual |
◆ allocated_size()
virtual size_t roc::core::NoopArenaImpl::allocated_size |
( |
void * |
ptr | ) |
const |
|
virtual |
◆ compute_allocated_size()
virtual size_t roc::core::NoopArenaImpl::compute_allocated_size |
( |
size_t |
size | ) |
const |
|
virtual |
◆ deallocate()
virtual void roc::core::NoopArenaImpl::deallocate |
( |
void * |
ptr | ) |
|
|
virtual |
The documentation for this class was generated from the following file: