The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
IAllocator.goodAllocSize
std
experimental
allocator
IAllocator
Returns the good allocation size that guarantees zero internal fragmentation.
interface
IAllocator
nothrow
size_t
goodAllocSize
(
size_t
s
)
Meta
Source
See Implementation
std
experimental
allocator
IAllocator
functions
alignedAllocate
alignedReallocate
allocate
allocateAll
deallocate
deallocateAll
decRef
empty
expand
goodAllocSize
incRef
owns
reallocate
resolveInternalPointer
properties
alignment
Returns the good allocation size that guarantees zero internal fragmentation.