29 #ifndef __ETL_IN_IPOOL_H__
30 #error This header is a private element of etl::pool & etl::ipool
33 #ifndef __ETL_POOL_BASE__
34 #define __ETL_POOL_BASE__
40 #ifndef ETL_THROW_EXCEPTIONS
size_t available() const
Returns the number of free items in the pool.
Definition: pool_base.h:96
Definition: pool_base.h:63
Definition: pool_base.h:89
const size_t MAX_SIZE
The maximum number of objects that can be allocated.
Definition: pool_base.h:124
exception(value_type reason)
Constructor.
Definition: exception.h:51
Definition: pool_base.h:76
Definition: algorithm.h:43
size_t items_allocated
The number of items allocated.
Definition: pool_base.h:123
Definition: exception.h:42
bool empty() const
Definition: pool_base.h:105
value_type what() const
Definition: exception.h:60
size_t next_free
The position of the next free item in the pool.
Definition: pool_base.h:122
pool_base(size_t max_size)
Constructor.
Definition: pool_base.h:115
Definition: pool_base.h:50