aammm

Implementation of associative arrays.

Members

Functions

aa
auto aa(ref Allocator allocator, size_t sz = INIT_NUM_BUCKETS)

Creates AA with GC-allocated internal implementation.

disposeAA
auto disposeAA(ref AAAlocator aaalocator, auto ref T aa)

Disposes internal AA implementation using aaalocator.

makeAA
auto makeAA(ref AAAlocator aaalocator, ref Allocator allocator, size_t sz = INIT_NUM_BUCKETS)

Allocates internal AA implementation using aaalocator. Do not use it if you want the GC to remove internal pointer automatically.

Structs

AA
struct AA(Key, Val, Allocator, Flag!"disposeEntries" disp = Flag!"disposeEntries".yes)

Meta

Authors

Martin Nowak, Ilya Yaroshenko