phobos-next v0.3.9 (2020-08-07T21:50: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