nulib ~master (2025-12-14T08:31:17.4307625)
Dub
Repo
StackImpl.opOpAssign
nulib
collections
stack
StackImpl
Pushes an element onto the stack.
void
opOpAssign
(T value)
struct
StackImpl
(T, bool ownsMemory = true)
@
nogc
@
trusted
void
opOpAssign
(
string
op
= "~"
)
(
auto
ref
T
value
)
void
opOpAssign
(T[] other)
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.