12#ifndef ROC_CORE_BUFFER_POOL_H_
13#define ROC_CORE_BUFFER_POOL_H_
20template <
class T>
class Buffer;
27 :
Pool<
Buffer<T> >(allocator, sizeof(
Buffer<T>) + sizeof(T) * buff_size, poison)
28 , buff_size_(buff_size) {
BufferPool(IAllocator &allocator, size_t buff_size, bool poison)
Initialization.
size_t buffer_size() const
Get buffer size (number of elements in buffer).
Memory allocator interface.