third-party/tbb/src/doc/html/a00140.html
Classes | Public Types | Public Member Functions | List of all members
tbb::scalable_allocator< T > Class Template Reference Memory Allocation
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More...
#include <scalable_allocator.h>
|
| | struct | rebind | | |
|
|
| typedef
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 |
| |
|
|
| | scalable_allocator (const scalable_allocator &) throw () |
| |
| template<typename U > |
| | scalable_allocator (const scalable_allocator< U > &) 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) |
| |
| void | construct (pointer p, value_type &&value) |
| |
| void | construct (pointer p, const value_type &value) |
| |
| void | destroy (pointer p) |
| |
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
The members are ordered the same way they are in section 20.4.1 of the ISO C++ standard.
The documentation for this class was generated from the following file:
Copyright © 2005-2018 Intel Corporation. All Rights Reserved.
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
* Other names and brands may be claimed as the property of others.