StackImpl.tryPop

Attempts to pop a value from the stack.

struct StackImpl(T, bool ownsMemory = true)
@nogc
bool
tryPop
(
ref T dst
)

Parameters

dst T

The variable to store the popped value in.

Return Value

Type: bool

Whether the operation succeeded.

Meta