Copying is disabled
Assigning to is disabled
Accesses element at index index
Put a new element val into the container
Reset the current container to zero. Doesn't deallocate memory
Returns container's internal capacity
Returns primitives as an array
Returns a slice of T[] that only has count primitives in it
Returns count of elements in this container
GrowingContainer!(int, 10) container; assert(container.capacity == 0); container.put(10); assert(container.capacity == 10 && container.length == 1); foreach(i; 0 .. 10) container.put(i); assert(container.capacity == 20 && container.length == 11); assert(container[1] == 0 && container[0] == 10);
A container of primitives of type T that automatically grows when necessary. The size parameter is the growth size