memutils.allocators

Utility functions for memory management

Public Imports

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

Members

Aliases

CryptoSafeAllocator
alias CryptoSafeAllocator = DebugAllocator!(SecureAllocator!(DebugAllocator!(AutoFreeListAllocator!(MallocAllocator))))
Undocumented in source.
CryptoSafeAllocator
alias CryptoSafeAllocator = SecureAllocator!LocklessAllocator
Undocumented in source.
LocklessAllocator
alias LocklessAllocator = DebugAllocator!(AutoFreeListAllocator!(MallocAllocator))
Undocumented in source.
LocklessAllocator
alias LocklessAllocator = AutoFreeListAllocator!(MallocAllocator)
Undocumented in source.
ProxyGCAllocator
alias ProxyGCAllocator = DebugAllocator!GCAllocator
Undocumented in source.
ProxyGCAllocator
alias ProxyGCAllocator = GCAllocator
Undocumented in source.

Functions

adjustPointerAlignment
void* adjustPointerAlignment(void* base)
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.
ensureValidMemory
void ensureValidMemory(void[] mem)
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()
Undocumented in source. Be warned that the author may not have intended to support it.
getAllocator
R getAllocator()
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

Allocator
interface 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