Stack.slice

Return the stack as an array of values, where the first array entry represents the oldest value.

Doing a foreach() on the returned array will traverse in the opposite direction of foreach() upon a stack

struct Stack(V, int Size = 0)
V[]
slice
()

Meta