#include <tbb_allocator.h>
Public Types | |
typedef Allocator< T > | base_allocator_type |
typedef base_allocator_type::value_type | value_type |
typedef base_allocator_type::pointer | pointer |
typedef base_allocator_type::const_pointer | const_pointer |
typedef base_allocator_type::reference | reference |
typedef base_allocator_type::const_reference | const_reference |
typedef base_allocator_type::size_type | size_type |
typedef base_allocator_type::difference_type | difference_type |
Public Member Functions | |
zero_allocator (const zero_allocator &a) throw () | |
template<typename U> | |
zero_allocator (const zero_allocator< U > &a) throw () | |
pointer | allocate (const size_type n, const void *hint=0) |
Classes | |
struct | rebind |
The class is an adapter over an actual allocator that fills the allocation using memset function with template argument C as the value. The members are ordered the same way they are in section 20.4.1 of the ISO C++ standard.