12 #ifndef ROC_CORE_NOOP_ARENA_H_
13 #define ROC_CORE_NOOP_ARENA_H_
Base class for non-copyable objects.
Arena implementation that just fails all allocations. Can be used with containers that have embedded ...
virtual size_t allocated_size(void *ptr) const
Allocated size given pointer no-op.
virtual void * allocate(size_t size)
Allocate memory no-op.
virtual void deallocate(void *ptr)
Deallocate memory no-op.
virtual size_t compute_allocated_size(size_t size) const
Compute allocated size no-op.