Stack.limitLength

Limits length of stack, default is -1 which is limitless. If length is limited and new element is attempted to be pushed when stack is overfilled nothing will happen.

struct Stack(T)
void
limitLength
(
size_t len
)

Meta