A allocator object usable in STL containers, using the TPIE memory manager. More...
#include <tpie/memory.h>
Classes | |
| struct | rebind |
Public Member Functions | |
| allocator (const allocator &a) throw () | |
| template<typename T2 > | |
| allocator (const allocator< T2 > &a) throw () | |
| T * | allocate (size_t size, const void *hint=0) |
| void | deallocate (T *p, size_t n) |
| size_t | max_size () const |
| void | construct (T *p) |
| void | construct (T *p, const T &val) |
| void | destroy (T *p) |
| pointer | address (reference x) const |
| const_pointer | address (const_reference x) const |
A allocator object usable in STL containers, using the TPIE memory manager.
| T | The type of the elements that can be allocated. |