HeapAllocator

An unaligned thread local allocator interface implementation for Heap.

Can be constructed using the same arguments as Heap.

Underlying Heap can be accessed via heap property.

See also $(DPREF2 memory, allocation, isUnalignedAllocator).

Constructors

this
this()
Undocumented in source.
this
this(Heap.CreateOptions options, size_t initialSize, size_t maximumSize)
Undocumented in source.
this
this(HANDLE heapHandle, bool own)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

tryUnalignedAllocate
void* tryUnalignedAllocate(size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
tryUnalignedReallocate
void* tryUnalignedReallocate(void* ptr, size_t preserveCount, size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
unalignedFree
void unalignedFree(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

heap
inout(Heap) heap [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta