Clear the stack
Pushes shallow copy of topmost element
Iterate from the most recent to the oldest stack entries
Removes most recent stack element
Rotate the given number of stack entries
Rotate the given number of stack entries
Swaps the top two entries
Stack!(int) stack; stack.push(42); test!("==")(stack.pop(), 42); testThrown!(StackBoundsException)(stack.pop());
A stack of the given value-type V, with maximum depth Size. Note that this does no memory allocation of its own when Size != 0, and does heap allocation when Size == 0. Thus you can have a fixed-size low-overhead instance, or a heap oriented instance.