Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
More...
#include <memory_pool.h>
|
typedef
tbb::internal::allocator_type
< T >::value_type | value_type |
| |
|
typedef value_type * | pointer |
| |
|
typedef const value_type * | const_pointer |
| |
|
typedef value_type & | reference |
| |
|
typedef const value_type & | const_reference |
| |
|
typedef size_t | size_type |
| |
|
typedef ptrdiff_t | difference_type |
| |
|
|
| memory_pool_allocator (pool_type &pool) throw () |
| |
|
| memory_pool_allocator (const memory_pool_allocator &src) throw () |
| |
|
template<typename U > |
| | memory_pool_allocator (const memory_pool_allocator< U, P > &src) throw () |
| |
|
pointer | address (reference x) const |
| |
|
const_pointer | address (const_reference x) const |
| |
|
pointer | allocate (size_type n, const void *=0) |
| | Allocate space for n objects.
|
| |
|
void | deallocate (pointer p, size_type) |
| | Free previously allocated block of memory.
|
| |
|
size_type | max_size () const throw () |
| | Largest value for which method allocate might succeed.
|
| |
|
template<typename U , typename... Args> |
| void | construct (U *p, Args &&...args) |
| | Copy-construct value at location pointed to by p.
|
| |
|
void | construct (pointer p, value_type &&value) |
| |
|
void | construct (pointer p, const value_type &value) |
| |
|
void | destroy (pointer p) |
| | Destroy value at location pointed to by p.
|
| |
|
|
template<typename U , typename R > |
| class | memory_pool_allocator |
| |
|
template<typename V , typename U , typename R > |
| bool | operator== (const memory_pool_allocator< V, R > &a, const memory_pool_allocator< U, R > &b) |
| |
|
template<typename V , typename U , typename R > |
| bool | operator!= (const memory_pool_allocator< V, R > &a, const memory_pool_allocator< U, R > &b) |
| |
template<typename T, typename P = internal::pool_base>
class tbb::interface6::memory_pool_allocator< T, P >
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
The documentation for this class was generated from the following file: