pub fn with<T, A, F>(construct: impl FnMut() -> T) -> Box<A> where
    A: BuildArray<T, F>, 
Expand description

Constructs an array directly on the heap.

The provided closure is called in memory-order to provide a value for the next slot in the returned array.

The size and the dimensionality of the returned array is not limited.