phobos-next v0.5.1 (2022-12-21T17:07:30Z)
Home
Dub
Repo
SharedRegion.goodAllocSize
nxt
region_allocator
SharedRegion
Rounds the given size to a multiple of the
alignment
struct
SharedRegion
(ParentAllocator = NullAllocator, uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
nothrow @
nogc
const pure nothrow @
safe
@
nogc
size_t
goodAllocSize
(
size_t
n
)
Meta
Source
See Implementation
nxt
region_allocator
SharedRegion
aliases
alignment
constructors
this
destructors
~this
functions
alignedAllocate
allocate
deallocate
empty
goodAllocSize
owns
variables
parent
Rounds the given size to a multiple of the alignment