23#if defined (ONIXS_CONFLATEDUDP_ENABLE_TRACING)
77#if defined (ONIXS_CONFLATEDUDP_ENABLE_TRACING)
78 virtual void trace(std::ostream&) = 0;
167 assert(NULL != pool_);
183 assert(NULL != pool_);
185 pool_->deallocate(block);
270ONIXS_CONFLATEDUDP_EXPORTED
273 size_t,
size_t,
size_t,
size_t);
#define ONIXS_CONFLATEDUDP_EXPORTED_CLASS
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
MemoryPoolAllocator(const MemoryPoolAllocator &other)
MemoryPool & memoryPool() const
MemoryPoolAllocator(const MemoryPoolAllocator< Other > &other)
MemoryPoolAllocator(MemoryPool &memoryPool)
const_pointer address(const_reference x) const
const Object & const_reference
void deallocate(pointer block, size_type)
size_type max_size() const
pointer allocate(size_type qty)
void construct(pointer block, const value_type &obj)
void destroy(pointer obj)
const Object * const_pointer
pointer address(reference obj) const
std::ptrdiff_t difference_type
virtual void deallocate(void *)=0
Releases previously allocated memory block.
virtual ~MemoryPool()
Destruction is through descendants.
virtual void release()=0
Releases given instance.
virtual void * allocate(size_t)=0
Allocates memory block of given size.
ONIXS_CONFLATEDUDP_EXPORTED MemoryPool * makeMemoryPool(size_t, size_t, size_t, size_t)
MemoryPoolAllocator< Other > other