Arena::Arena

Constructors

Synopses

Declared in <support/lockedpool.h>

Deleted copy constructor; an Arena cannot be copied.

Arena(Arena const& other) = delete;
» more...

Construct an arena over a memory region.

Arena(
    void* base,
    size_t size,
    size_t alignment);
» more...

Parameters

NameDescription
otherThe arena that would have been copied.
baseBase address of the region managed by the arena.
sizeSize in bytes of the region.
alignmentMinimum alignment for chunks carved from the region.