VectorBase struct

Defined in module std.vector (vector.l0).

VectorBase implements a dynamic array (vector) of elements of a given size.

It uses ArrayBase internally to manage storage. It can grow dynamically as elements are added, and a capacity can be reserved in advance.

Note: This is a low-level implementation and does not provide type safety. It is the caller's responsibility to manage types and casting.

Fields

arr: ArrayBase*
length: int