Construct an arena over a memory region.

Synopsis

Declared in <support/lockedpool.h>

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

Parameters

Name

Description

base

Base address of the region managed by the arena.

size

Size in bytes of the region.

alignment

Minimum alignment for chunks carved from the region.

Created with MrDocs