![]() |
|
An allocator that provides zero-initialized memory. More...
#include <zeroAllocator.h>
Inherits cache_aligned_allocator< T >.
Public Types | |
| using | value_type = T |
| using | propagate_on_container_move_assignment = std::true_type |
| using | is_always_equal = std::true_type |
Public Member Functions | |
| template<typename U > | |
| WorkZeroAllocator (const WorkZeroAllocator< U > &) noexcept | |
| T * | allocate (std::size_t n) |
An allocator that provides zero-initialized memory.
Definition at line 26 of file zeroAllocator.h.
| using is_always_equal = std::true_type |
Definition at line 29 of file zeroAllocator.h.
| using propagate_on_container_move_assignment = std::true_type |
Definition at line 28 of file zeroAllocator.h.
| using value_type = T |
Definition at line 27 of file zeroAllocator.h.
|
inlinenoexcept |
Definition at line 38 of file zeroAllocator.h.
|
inline |
Definition at line 40 of file zeroAllocator.h.