ae v0.0.2845 (2020-11-29T12:45:19Z)
Home
Dub
Repo
RegionAllocator.Impl
ae
utils
alloc
RegionAllocator
Undocumented in source.
struct
RegionAllocator
(BASE_TYPE = void*, size_t BLOCKSIZE = 1024, alias ALLOCATOR = heapAllocator)
static
template
Impl (
alias
data
) {
static
void
reset
();
alias
bufferExhausted
=
newBlock
;
mixin
PointerBumpCommon
;
}
Members
Aliases
bufferExhausted
alias
bufferExhausted
=
newBlock
Undocumented in source.
Mixins
__anonymous
mixin
PointerBumpCommon
Undocumented in source.
Static functions
reset
void
reset
()
Forget we ever allocated anything
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
RegionAllocator
mixins
__anonymous
structs
Data
templates
Impl