Barray

A reusable array that ratchets up in capacity.

nothrow extern (C++)
struct Barray (
T
) {
T[] array;
}

Destructor

~this
~this()

Release all memory used.

Alias This

array

Members

Functions

push
void push(T t)

Append element t to array.

remove
void remove(size_t i)

Move the last element from the array into i. Reduce the array length by one.

setLength
void setLength(size_t length)

Set useable length of array.

Meta