The OpenD Programming Language

SharedRegion.goodAllocSize

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