|
Zero
0.1.0
|
: A simple pooled allocator More...
#include "stl_pool.h"#include <cassert>#include <vector>#include <list>#include <set>#include <map>Go to the source code of this file.
Classes | |
| class | PooledAllocator< T > |
| A standards-compliant pooled allocator. More... | |
| struct | PooledAllocator< T >::rebind< U > |
| A struct to construct an allocator for a different type. More... | |
| class | PooledAllocator< void > |
| A specialisation of the pooled allocator for the void type. More... | |
| struct | PooledAllocator< void >::rebind< U > |
| A struct to construct an allocator for a different type. More... | |
| struct | PooledMap< Key, Value, Traits > |
| Template typedef std::map<..., PooledAllocator> to PooledMap<Key, Value>::Type. More... | |
| struct | PooledMultiMap< Key, Value, Traits > |
| Template typedef std::multimap<..., PooledAllocator> to PooledMultiMap<Key, Value>::Type. More... | |
| struct | PooledList< Value > |
| Template typedef std::list<..., PooledAllocator> to PooledList<Value>::Type. More... | |
| struct | PooledSet< Value, Traits > |
| Template typedef std::set<..., PooledAllocator> to PooledSet<Value>::Type. More... | |
| struct | PooledVec< Value > |
| Template typedef std::vector<..., PooledAllocator> to PooledVec<Value>::Type. More... | |
Functions | |
| template<typename T , typename U > | |
| bool | operator== (PooledAllocator< T > const &left, PooledAllocator< U > const &right) |
| Returns true if objects allocated from one pool can be deallocated from the other. More... | |
| template<typename T , typename U > | |
| bool | operator!= (PooledAllocator< T > const &left, PooledAllocator< U > const &right) |
| Returns true if objects allocated from one pool cannot be deallocated from the other. More... | |
: A simple pooled allocator
| bool operator!= | ( | PooledAllocator< T > const & | left, |
| PooledAllocator< U > const & | right | ||
| ) |
Returns true if objects allocated from one pool cannot be deallocated from the other.
| bool operator== | ( | PooledAllocator< T > const & | left, |
| PooledAllocator< U > const & | right | ||
| ) |
Returns true if objects allocated from one pool can be deallocated from the other.
1.8.12