Iterator to iterate all valid T of a pool.
More...
#include <pool_type.hpp>
|
typedef T | value_type |
|
typedef T * | pointer |
|
typedef T & | reference |
|
typedef size_t | difference_type |
|
typedef std::forward_iterator_tag | iterator_category |
|
|
| PoolIterator (size_t index, std::function< bool(size_t)> filter=nullptr) |
|
bool | operator== (const PoolIterator &other) const |
|
bool | operator!= (const PoolIterator &other) const |
|
T * | operator* () const |
|
PoolIterator & | operator++ () |
|
|
size_t | index |
|
std::function< bool(size_t)> | filter |
|
template<class Titem, typename Tindex, size_t Tgrowth_step, size_t Tmax_size, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true>
template<class T>
struct Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolIterator< T >
Iterator to iterate all valid T of a pool.
- Template Parameters
-
T | Type of the class/struct that is going to be iterated |
Definition at line 145 of file pool_type.hpp.
The documentation for this struct was generated from the following file: