IStack<T>.Pop Method

Definition

Removes the element at the top of the stack.

Delphi
function Pop: T

Returns

T

The element that was removed.

Remarks

This will return nil to prevent a dangling reference if the stack has ownership over the instances.