| 
    Intel(R) Threading Building Blocks Doxygen Documentation
    version 4.2.3
    
   | 
 
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More...
#include <tbb_allocator.h>
Classes | |
| struct | rebind | 
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 () throw () | |
| 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) | 
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
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.
Definition at line 151 of file tbb_allocator.h.
| typedef Allocator<T> tbb::zero_allocator< T, Allocator >::base_allocator_type | 
Definition at line 154 of file tbb_allocator.h.
| typedef base_allocator_type::const_pointer tbb::zero_allocator< T, Allocator >::const_pointer | 
Definition at line 157 of file tbb_allocator.h.
| typedef base_allocator_type::const_reference tbb::zero_allocator< T, Allocator >::const_reference | 
Definition at line 159 of file tbb_allocator.h.
| typedef base_allocator_type::difference_type tbb::zero_allocator< T, Allocator >::difference_type | 
Definition at line 161 of file tbb_allocator.h.
| typedef base_allocator_type::pointer tbb::zero_allocator< T, Allocator >::pointer | 
Definition at line 156 of file tbb_allocator.h.
| typedef base_allocator_type::reference tbb::zero_allocator< T, Allocator >::reference | 
Definition at line 158 of file tbb_allocator.h.
| typedef base_allocator_type::size_type tbb::zero_allocator< T, Allocator >::size_type | 
Definition at line 160 of file tbb_allocator.h.
| typedef base_allocator_type::value_type tbb::zero_allocator< T, Allocator >::value_type | 
Definition at line 155 of file tbb_allocator.h.
      
  | 
  inline | |||||||||||||
Definition at line 166 of file tbb_allocator.h.
      
  | 
  inline | ||||||||||||||
Definition at line 167 of file tbb_allocator.h.
      
  | 
  inline | ||||||||||||||
Definition at line 169 of file tbb_allocator.h.
      
  | 
  inline | 
Definition at line 171 of file tbb_allocator.h.