ArrayBase struct
Defined in module std.array (array.l0).
ArrayBase implements an array of elements of a given size.
Elements can be accessed via index, and the array can be resized on demand. See VectorBase for a dynamic array implementation.
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
- capacity: int
- element_size: int
- data: void*