nulib ~master (2025-12-14T08:31:17.4307625)
Dub
Repo
StackImpl.push
nulib
collections
stack
StackImpl
Pushes an element onto the stack.
struct
StackImpl
(T, bool ownsMemory = true)
@
nogc
void
push
(
T
value
)
Parameters
value
T
The value to push.
Meta
Source
See Implementation
nulib
collections
stack
StackImpl
destructors
~this
functions
clear
opOpAssign
peek
pop
push
tryPeek
tryPop
properties
capacity
empty
length
values
Pushes an element onto the stack.