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(allocator!U )

Members

Aliases

difference_type
alias difference_type = ptrdiff_t
pointer
alias pointer = T*
rebind
alias rebind(U) = allocator!U
size_type
alias size_type = size_t
value_type
alias value_type = T

Functions

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

Manifest constants

is_always_equal
enum is_always_equal;
propagate_on_container_move_assignment
enum propagate_on_container_move_assignment;

Variables

max_size
enum size_t max_size;
max_size
enum size_t max_size;
max_size
enum size_t max_size;

Meta