The OpenD Programming Language

SharedBorrowedRegion.goodAllocSize

Rounds the given size to a multiple of the alignment

struct SharedBorrowedRegion(uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
shared const pure nothrow @safe @nogc
size_t
goodAllocSize
(
size_t n
)

Meta