A allocator object usable in STL containers, using the TPIE memory manager.
More...
#include <tpie/memory.h>
|
typedef a_t::size_type | size_type |
|
typedef a_t::difference_type | difference_type |
|
typedef a_t::pointer | pointer |
|
typedef a_t::const_pointer | const_pointer |
|
typedef a_t::reference | reference |
|
typedef a_t::const_reference | const_reference |
|
typedef a_t::value_type | value_type |
|
typedef std::true_type | propagate_on_container_copy_assignment |
|
typedef std::true_type | propagate_on_container_move_assignment |
|
typedef std::true_type | propagate_on_container_swap |
|
|
| allocator (memory_bucket_ref bucket) noexcept |
|
| allocator (const allocator &o) noexcept |
|
template<typename T2 > |
| allocator (const allocator< T2 > &o) noexcept |
|
T * | allocate (size_t size, const void *hint=0) |
|
void | deallocate (T *p, size_t n) |
|
size_t | max_size () const noexcept |
|
template<typename U , typename... TT> |
void | construct (U *p, TT &&...x) |
|
template<typename U > |
void | destroy (U *p) |
|
pointer | address (reference x) const noexcept |
|
const_pointer | address (const_reference x) const noexcept |
|
template<class T>
class tpie::allocator< T >
A allocator object usable in STL containers, using the TPIE memory manager.
- Template Parameters
-
T | The type of the elements that can be allocated. |
Definition at line 390 of file memory.h.
The documentation for this class was generated from the following file: