Arena::Arena

Construct an arena over a memory region.

Synopsis

Declared in <support/lockedpool.h>

Arena(
    void* base,
    size_t size,
    size_t alignment);

Parameters

NameDescription
baseBase address of the region managed by the arena.
sizeSize in bytes of the region.
alignmentMinimum alignment for chunks carved from the region.