PoolImpl_#

How to cite this class in this doc#

:ref:`PoolImpl\_ <class-template-poolimpl>`
[PoolImpl\_](#class-template-poolimpl)

Detailed description#

The shared pools of memory - visibility: here only. Implementation is done as a map of lists. Key is the array size, and the list simply contains pointers to available free blocks. So a block is only registered in the list when it is released.

List of Public Methods#

Complete Member Function Documentation#

Attributes Documentation#

actual_sz_ (public)
size_t PoolImpl_<_TYPE_>::actual_sz_

Actual alloc performed:

Free_blocks_ (public)
pool_t PoolImpl_<_TYPE_>::Free_blocks_

A pool is a map of lists:

num_items_ (public)
int PoolImpl_<_TYPE_>::num_items_

Total number of blocks in the pool:

req_sz_ (public)
size_t PoolImpl_<_TYPE_>::req_sz_

Total allocation requests: