Arena constructor

Arena(
  1. [Allocator allocator = calloc]
)

Creates a arena of allocations.

The allocator is used to do the actual allocation and freeing of memory. It defaults to using calloc.

Implementation

Arena([Allocator allocator = calloc]) : _wrappedAllocator = allocator;