template<typename U > scalable_allocator (const scalable_allocator< U > &a)
scalable_allocator ()
scalable_allocator (const scalable_allocator &a)
template<typename U > scalable_allocator (const scalable_allocator< U > &a)
Detailed Description
template<typename T> class Threads::scalable_allocator< T >
Scalable allocator to be used in multithreaded code chunks which allocate a lot of dynamic memory. This allocator can be faster than the std::allocator when there are multiple threads.
Just use std::allocator when the Threading Building Blocks is absent.
Definition at line 52 of file threads_allocators.h.
Member Typedef Documentation
template<typename T> typedef const T* Threads::scalable_allocator< T >::const_pointer
Definition at line 56 of file threads_allocators.h.
template<typename T> typedef const T* Threads::scalable_allocator< T >::const_pointer
Definition at line 95 of file threads_allocators.h.
template<typename T> typedef ptrdiff_t Threads::scalable_allocator< T >::difference_type
Definition at line 61 of file threads_allocators.h.
template<typename T> typedef ptrdiff_t Threads::scalable_allocator< T >::difference_type
Definition at line 100 of file threads_allocators.h.
template<typename T> typedef T* Threads::scalable_allocator< T >::pointer
Definition at line 94 of file threads_allocators.h.
template<typename T> typedef T* Threads::scalable_allocator< T >::pointer
Definition at line 55 of file threads_allocators.h.
template<typename T> typedef size_t Threads::scalable_allocator< T >::size_type
Definition at line 99 of file threads_allocators.h.
template<typename T> typedef size_t Threads::scalable_allocator< T >::size_type
Definition at line 60 of file threads_allocators.h.
template<typename T> typedef T Threads::scalable_allocator< T >::value_type
Definition at line 59 of file threads_allocators.h.
template<typename T> typedef T Threads::scalable_allocator< T >::value_type
Definition at line 98 of file threads_allocators.h.
Constructor & Destructor Documentation
template<typename T> Threads::scalable_allocator< T >::scalable_allocator () [inline]
Definition at line 69 of file threads_allocators.h.
:
tbb::scalable_allocator<T>() {}
template<typename T> Threads::scalable_allocator< T >::scalable_allocator (const scalable_allocator< T > &a) [inline]
Definition at line 72 of file threads_allocators.h.
:
tbb::scalable_allocator<T>(a) {}
template<typename T> template<typename U > Threads::scalable_allocator< T >::scalable_allocator (const scalable_allocator< U > &a) [inline]
Definition at line 76 of file threads_allocators.h.
:
tbb::scalable_allocator<T>(a) {}
template<typename T> Threads::scalable_allocator< T >::scalable_allocator () [inline]
Definition at line 108 of file threads_allocators.h.
:
std::allocator<T>() {}
template<typename T> Threads::scalable_allocator< T >::scalable_allocator (const scalable_allocator< T > &a) [inline]
Definition at line 111 of file threads_allocators.h.
:
std::allocator<T>(a) {}
template<typename T> template<typename U > Threads::scalable_allocator< T >::scalable_allocator (const scalable_allocator< U > &a) [inline]
Definition at line 115 of file threads_allocators.h.
:
std::allocator<T>(a) {}
Author
Generated automatically by Doxygen for libMesh from the source code.