memutils.allocators

Utility functions for memory management

Public Imports

memutils.constants
public import memutils.constants;
Undocumented in source.

Members

Aliases

LocklessAllocator
alias LocklessAllocator = AutoFreeListAllocator!MallocAllocator
Undocumented in source.

Functions

adjustPointerAlignment
void* adjustPointerAlignment(void* base, ubyte* misalign_)
Undocumented in source. Be warned that the author may not have intended to support it.
alignedSize
size_t alignedSize(size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
extractUnalignedPointer
void* extractUnalignedPointer(void* base)
Undocumented in source. Be warned that the author may not have intended to support it.
getAllocator
auto getAllocator(bool is_freeing)
Undocumented in source. Be warned that the author may not have intended to support it.
getAllocator
R* getAllocator(bool is_freeing, bool kill_it)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Allocator
struct Allocator
Undocumented in source.

Templates

AllocSize
template AllocSize(T)
Undocumented in source.
RefTypeOf
template RefTypeOf(T)
Undocumented in source.

Meta

License

Subject to the terms of the MIT license.

Authors

Sönke Ludwig, Etienne Cimon