Stack.this - multiple declarations
Function Stack.this
Stack must always be initialized with the right size constraints
@disable this();
Function Stack.this
Initializes the Stack with the configured consensus limits.
ref this
(
ulong StackMaxTotalSize,
ulong StackMaxItemSize
) pure nothrow @nogc @safe;
Parameters
Name | Description |
---|---|
StackMaxTotalSize | the maximum allowed stack size before a
stack overflow. It affects routines such as canPush() ,
and push() in non-release mode. Must be at least
big enough to fit StackMaxItemSize . |
StackMaxItemSize | maximum allowed size for a single item on the stack. Must be greater than 0. |