A bump allocator for the prism parser.
std::unique_ptr< pm_arena_t, arena_deleter > unique_arena
An owned arena.
unique_arena make_arena() noexcept
Allocate a new arena.
Frees an arena with pm_arena_free.
void operator()(pm_arena_t *arena) const noexcept
Frees the given arena.