ae ~sd (2021-12-20T16:35:43.7627576)
Dub
Repo
HybridBufferAllocator.Impl
ae
utils
alloc
HybridBufferAllocator
Undocumented in source.
struct
HybridBufferAllocator
(size_t SIZE, BASE_TYPE = ubyte, alias ALLOCATOR = heapAllocator)
static
template
Impl (
alias
data
) {
static
void
initialize
();
static
void
bufferExhausted
(size_t n);
static
enum
BLOCKSIZE
;
mixin
PointerBumpCommon
;
static if
(
is(typeof(&ALLOCATOR.clear))
)
static
void
clear
();
}
Members
Mixins
__anonymous
mixin
PointerBumpCommon
Undocumented in source.
Static functions
bufferExhausted
void
bufferExhausted
(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void
clear
()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void
initialize
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
BLOCKSIZE
enum
BLOCKSIZE
;
Undocumented in source.
Mixed In Members
From
mixin
PointerBumpCommon
allocate
RefType
!
T
allocate
()
Undocumented in source. Be warned that the author may not have intended to support it.
allocateMany
StorageType
!
T
[]
allocateMany
(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
ae
utils
alloc
HybridBufferAllocator
mixins
__anonymous
structs
Data
templates
Impl