phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
BorrowedRegion.goodAllocSize
std
experimental
allocator
building_blocks
region
BorrowedRegion
Rounds the given size to a multiple of the
alignment
struct
BorrowedRegion
(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
BorrowedRegion
aliases
alignment
constructors
this
functions
alignedAllocate
allocate
allocateAll
available
deallocate
deallocateAll
empty
expand
goodAllocSize
owns
Rounds the given size to a multiple of the alignment