The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SharedRegion.goodAllocSize
std
experimental
allocator
building_blocks
region
SharedRegion
Rounds the given size to a multiple of the
alignment
struct
SharedRegion
(ParentAllocator, uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
const pure nothrow @
safe
@
nogc
size_t
goodAllocSize
(
size_t
n
)
Meta
Source
See Implementation
std
experimental
allocator
building_blocks
region
SharedRegion
aliases
alignment
constructors
this
destructors
~this
functions
alignedAllocate
allocate
deallocate
deallocateAll
empty
goodAllocSize
owns
variables
parent
Rounds the given size to a multiple of the alignment