core.stdcpp.allocator

D binding to C++ std::allocator.

Types 2

structallocator(T)

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

Fields
true propagate_on_container_move_assignment
true is_always_equal
Constructors
this(ref allocator!U)
structallocator_traits(Alloc)
Fields
isTrue!(allocator_type, "propagate_on_container_copy_assignment") propagate_on_container_copy_assignment
isTrue!(allocator_type, "propagate_on_container_move_assignment") propagate_on_container_move_assignment
isTrue!(allocator_type, "propagate_on_container_swap") propagate_on_container_swap
isTrue!(allocator_type, "is_always_equal") is_always_equal
Methods
size_type max_size()(auto ref allocator_type a)
allocator_type select_on_container_copy_construction()(auto ref allocator_type a)
Nested Templates
rebind_alloc(U)