The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
goodAllocSize
std
experimental
allocator
common
The default good size allocation is deduced as
n
rounded up to the allocator's alignment.
size_t
goodAllocSize
(
A
)
(
auto
ref
A
a
,
size_t
n
)
std
experimental
allocator
common
functions
alignedReallocate
forwardToMember
goodAllocSize
reallocate
manifest constants
chooseAtRuntime
unbounded
templates
hasStaticallyKnownAlignment
stateSize
variables
platformAlignment
Suggestion Box / Bug Report
The default good size allocation is deduced as n rounded up to the allocator's alignment.