Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More...
#include <tbb_allocator.h>
Classes | |
struct | rebind |
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) |
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.