nxt.dynamic_array

Undocumented in source.

Members

Functions

remove
size_t remove(C c)

Remove all elements matching predicate.

Structs

BasicCopyableArray
struct BasicCopyableArray

Variant of DynamicArray with copy construction (postblit) enabled.

DynamicArray
struct DynamicArray(T, Allocator = Mallocator, Capacity = size_t)

Array type with deterministic control of memory. The memory allocated for the array is reclaimed as soon as possible; there is no reliance on the garbage collector. Array uses malloc, realloc and free for managing its own memory.

Meta