allocator

Allocators are classes that define memory models to be used by some parts of the C++ Standard Library, and most specifically, by STL containers.

Constructors

this
this(ref allocator!U)

Members

Aliases

rebind
alias rebind(U) = allocator!U
value_type
alias value_type = T

Functions

allocate
T* allocate(size_t count)
allocate
T* allocate(size_t count, const(void)* = null)
allocate
T* allocate(size_t count, const(void)* = null)
deallocate
void deallocate(T* ptr, size_t count)
deallocate
void deallocate(T* ptr, size_t count)
deallocate
void deallocate(T* ptr, size_t count)

Variables

max_size
enum size_t max_size;
max_size
enum size_t max_size;
max_size
enum size_t max_size;
Suggestion Box / Bug Report