|
Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More...
#include <cache_aligned_allocator.h>
Classes | |
| struct | rebind |
Public Types | |
| 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 |
Public Member Functions | |
| cache_aligned_allocator () throw () | |
| cache_aligned_allocator (const cache_aligned_allocator &) throw () | |
| template<typename U > | |
| cache_aligned_allocator (const cache_aligned_allocator< U > &) throw () | |
| pointer | address (reference x) const |
| const_pointer | address (const_reference x) const |
| pointer | allocate (size_type n, const void *hint=0) |
| Allocate space for n objects, starting on a cache/sector line. More... | |
| void | deallocate (pointer p, size_type) |
| Free block of memory that starts on a cache line. More... | |
| size_type | max_size () const throw () |
| Largest value for which method allocate might succeed. More... | |
| template<typename U , typename... Args> | |
| void | construct (U *p, Args &&... args) |
| Copy-construct value at location pointed to by p. More... | |
| void | destroy (pointer p) |
| Destroy value at location pointed to by p. More... | |
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.
Definition at line 60 of file cache_aligned_allocator.h.
| typedef const value_type* tbb::cache_aligned_allocator< T >::const_pointer |
Definition at line 64 of file cache_aligned_allocator.h.
| typedef const value_type& tbb::cache_aligned_allocator< T >::const_reference |
Definition at line 66 of file cache_aligned_allocator.h.
| typedef ptrdiff_t tbb::cache_aligned_allocator< T >::difference_type |
Definition at line 68 of file cache_aligned_allocator.h.
| typedef value_type* tbb::cache_aligned_allocator< T >::pointer |
Definition at line 63 of file cache_aligned_allocator.h.
| typedef value_type& tbb::cache_aligned_allocator< T >::reference |
Definition at line 65 of file cache_aligned_allocator.h.
| typedef size_t tbb::cache_aligned_allocator< T >::size_type |
Definition at line 67 of file cache_aligned_allocator.h.
| typedef internal::allocator_type<T>::value_type tbb::cache_aligned_allocator< T >::value_type |
Definition at line 62 of file cache_aligned_allocator.h.
|
inline | |||||||||||||
Definition at line 72 of file cache_aligned_allocator.h.
|
inline | ||||||||||||||
Definition at line 73 of file cache_aligned_allocator.h.
|
inline | ||||||||||||||
Definition at line 74 of file cache_aligned_allocator.h.
|
inline |
Definition at line 76 of file cache_aligned_allocator.h.
|
inline |
Definition at line 77 of file cache_aligned_allocator.h.
|
inline |
Allocate space for n objects, starting on a cache/sector line.
Definition at line 80 of file cache_aligned_allocator.h.
References tbb::internal::NFS_Allocate().
Referenced by tbb::internal::concurrent_queue_iterator_base_v3::assign(), tbb::internal::concurrent_queue_base_v3::concurrent_queue_base_v3(), tbb::internal::input_buffer::grow(), tbb::internal::concurrent_queue_iterator_base_v3::initialize(), tbb::internal::rml::make_private_server(), and tbb::internal::rml::private_server::private_server().
|
inline |
Copy-construct value at location pointed to by p.
Definition at line 98 of file cache_aligned_allocator.h.
References p.
|
inline |
Free block of memory that starts on a cache line.
Definition at line 86 of file cache_aligned_allocator.h.
References tbb::internal::NFS_Free(), and p.
Referenced by tbb::internal::concurrent_queue_iterator_base_v3::assign(), tbb::internal::input_buffer::grow(), tbb::internal::rml::private_server::remove_server_ref(), tbb::internal::concurrent_queue_base_v3::~concurrent_queue_base_v3(), tbb::internal::concurrent_queue_iterator_base_v3::~concurrent_queue_iterator_base_v3(), tbb::internal::input_buffer::~input_buffer(), and tbb::internal::rml::private_server::~private_server().
|
inline |
Destroy value at location pointed to by p.
Definition at line 108 of file cache_aligned_allocator.h.
References p.
|
inline | |||||||||||||
Largest value for which method allocate might succeed.
Definition at line 91 of file cache_aligned_allocator.h.
References tbb::internal::NFS_MaxLineSize.